We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3907f08 commit 7e5c2c8Copy full SHA for 7e5c2c8
jest.config.js
@@ -8,4 +8,7 @@ module.exports = {
8
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
9
globalSetup: join(__dirname, 'global-setup.js'),
10
restoreMocks: true,
11
+ moduleNameMapper: {
12
+ '^axios$': 'axios/dist/node/axios.cjs',
13
+ },
14
}
0 commit comments