diff --git a/jest.config.js b/jest.config.js index 0125fb75..bc676532 100644 --- a/jest.config.js +++ b/jest.config.js @@ -3,6 +3,7 @@ module.exports = { '^@/(.*)$': '/$1', '^~/(.*)$': '/$1', '^vue$': 'vue/dist/vue.common.js', + "axios": "axios/dist/node/axios.cjs", // https://stackoverflow.com/a/74297004 }, moduleFileExtensions: [ 'ts',