Skip to content

Commit 6c39b57

Browse files
CumuloCumuloclaude
andcommitted
fix CI e2e tests: prevent .env.test from overriding DATABASE_URL
dotenv config() overrides env vars by default, which replaces the CI DATABASE_URL with the local one. Added override: false so CI environment variables take precedence over .env.test values. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ee91d0c commit 6c39b57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/test/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ import 'reflect-metadata';
22
import { config } from 'dotenv';
33
import { resolve } from 'path';
44

5-
config({ path: resolve(__dirname, '../.env.test') });
5+
config({ path: resolve(__dirname, '../.env.test'), override: false });

0 commit comments

Comments
 (0)