mirror of
https://github.com/mauricioabh/arbpulse.git
synced 2026-07-27 15:47:43 +00:00
8c7127cfde
GET /api/debug/sentry, load .env.local for DSN, Playwright observability spec. Co-authored-by: Cursor <cursoragent@cursor.com>
9 lines
363 B
TypeScript
9 lines
363 B
TypeScript
import { test, expect } from "@playwright/test";
|
|
|
|
/** Asserts the dev Sentry probe responds; does not verify ingest in sentry.io (see README). */
|
|
test("sentry dev probe returns ok", async ({ request }) => {
|
|
const res = await request.get("/api/debug/sentry");
|
|
expect(res.ok()).toBeTruthy();
|
|
await expect(res.json()).resolves.toMatchObject({ ok: true });
|
|
});
|