We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3471845 commit 58d725dCopy full SHA for 58d725d
jest.config.js
@@ -67,7 +67,9 @@ module.exports = {
67
moduleFileExtensions: ["js", "mjs"],
68
69
// A map from regular expressions to module names that allow to stub out resources with a single module
70
- // moduleNameMapper: {},
+ moduleNameMapper: {
71
+ axios: "axios/dist/node/axios.cjs"
72
+ },
73
74
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
75
// modulePathIgnorePatterns: [],
0 commit comments