Skip to content

Commit

Permalink
Fix axios dependency with jest, simpler solution
Browse files Browse the repository at this point in the history
  • Loading branch information
infojunkie committed Nov 16, 2023
1 parent fd9c32c commit b55152e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"/node_modules/"
],
"moduleNameMapper": {
"^axios$": "<rootDir>/test/axios.cjs"
"^axios$": "<rootDir>/node_modules/axios/dist/node/axios.cjs"
}
}
}
1 change: 0 additions & 1 deletion test/axios.cjs

This file was deleted.

0 comments on commit b55152e

Please sign in to comment.