Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. 馃珫 Status page with uptime monitoring & API monitoring as code 馃珫 openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor
Something went wrong. Try again.
444 B 路 10 lines
TypeScript
1234567891011/** * Test env setup. Import this FIRST in any test file so env vars are set * before module-level env validations fire on import. * * Bun's test runner set NODE_ENV=test automatically; Deno does not, so we set * it here. `./env` validates RESEND_API_KEY at module load and snapshots * NODE_ENV, so both have to be in place before `./client` or `./send` load. */process.env.NODE_ENV = "test";process.env.RESEND_API_KEY ??= "test-key";