diff --git a/api/setup-jest.ts b/api/setup-jest.ts index 205f4b49..49932be6 100644 --- a/api/setup-jest.ts +++ b/api/setup-jest.ts @@ -1,5 +1,8 @@ import initializeDb from './src/lib/db' beforeAll(async () => { + // avoid conflict in dev container + process.env.NODE_ENV = 'test'; + await initializeDb() })