Skip to content

Commit

Permalink
chore: fix axios resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Dec 31, 2023
1 parent ff07885 commit 68faaaf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ module.exports = {
testRegex: "(/__tests__/.*|\\.(test|spec))\\.[tj]sx?$",
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
testEnvironment: "node",
moduleNameMapper: {
axios: "axios/dist/node/axios.cjs",
},
};

0 comments on commit 68faaaf

Please sign in to comment.