Skip to content

Commit 7e5c2c8

Browse files
chore: Fix test runner
1 parent 3907f08 commit 7e5c2c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jest.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ module.exports = {
88
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
99
globalSetup: join(__dirname, 'global-setup.js'),
1010
restoreMocks: true,
11+
moduleNameMapper: {
12+
'^axios$': 'axios/dist/node/axios.cjs',
13+
},
1114
}

0 commit comments

Comments
 (0)