Skip to content

Commit

Permalink
✅ Fix failing jest due to axios
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Nov 22, 2023
1 parent 101e345 commit 5730301
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
'^@/(.*)$': '<rootDir>/$1',
'^~/(.*)$': '<rootDir>/$1',
'^vue$': 'vue/dist/vue.common.js',
"axios": "axios/dist/node/axios.cjs", // https://stackoverflow.com/a/74297004
},
moduleFileExtensions: [
'ts',
Expand Down

0 comments on commit 5730301

Please sign in to comment.