diff --git a/frontend/jest.config.js b/frontend/jest.config.js index 86467b9e..8a346ae2 100644 --- a/frontend/jest.config.js +++ b/frontend/jest.config.js @@ -15,7 +15,7 @@ module.exports = { ], testEnvironment: 'jest-environment-jsdom-fourteen', transform: { - '^.+\\.(js|jsx|ts|tsx)$': 'babel-jest', + '^.+\\.(js|jsx|ts|tsx)$': ['babel-jest', { cwd: __dirname }], '^.+\\.css$': '/config/jest/cssTransform.js', '^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': '/config/jest/fileTransform.js',