Files
stack/apps/api/vitest.setup.ts
Jason Woltje 75766a37b4
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
fix(test): Skip loading .env.test in CI environments
The .env.test file was being loaded in CI and overriding the CI-provided
DATABASE_URL, causing tests to try connecting to localhost:5432 instead of
the postgres:5432 service.

Fix: Only load .env.test when NOT in CI (check for CI or WOODPECKER env vars).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 21:44:02 -06:00

1.2 KiB