Skip to content

Commit

Permalink
Import cjs axios build
Browse files Browse the repository at this point in the history
  • Loading branch information
crayolakat committed Feb 1, 2024
1 parent 5f4153c commit 89e4a4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ module.exports = {
moduleNameMapper: {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
"<rootDir>/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js",
"^axios$": "axios/dist/node/axios.cjs"
},
collectCoverageFrom: [
"**/*.{js,jsx}",
Expand Down

0 comments on commit 89e4a4e

Please sign in to comment.