We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f5c05d2 + 58d725d commit 3dff60aCopy full SHA for 3dff60a
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: [],
package.json
@@ -27,7 +27,7 @@
27
"index.d.ts"
28
],
29
"dependencies": {
30
- "axios": "^0.21.1",
+ "axios": "^1.6.0",
31
"create-hmac": "^1.1.7",
32
"oauth-1.0a": "^2.2.6",
33
"url-parse": "^1.4.7"
0 commit comments