diff --git a/jest.config.js b/jest.config.js index 2cfe0b7d..0af2de9a 100644 --- a/jest.config.js +++ b/jest.config.js @@ -13,6 +13,10 @@ module.exports = createConfig('jest', { 'src/data/services/lms/fakeData', // don't unit test mock data 'src/test', // don't unit test integration test utils ], + // see https://github.com/axios/axios/issues/5026 + moduleNameMapper: { + '^axios$': 'axios/dist/axios.js', + }, testTimeout: 120000, testEnvironment: 'jsdom', });