diff --git a/jest.config.js b/jest.config.js index ebccf612..46b96a4b 100644 --- a/jest.config.js +++ b/jest.config.js @@ -19,4 +19,5 @@ module.exports = { }, // Increase timeout for tests that use containers testTimeout: 60000, + setupFiles: ['/jest.setup.js'], }; diff --git a/jest.setup.js b/jest.setup.js new file mode 100644 index 00000000..68ab0886 --- /dev/null +++ b/jest.setup.js @@ -0,0 +1 @@ +require('dotenv').config({ path: '.env.test' });