diff --git a/jest.config.js b/jest.config.js index 689f97f..2f4f436 100644 --- a/jest.config.js +++ b/jest.config.js @@ -3,4 +3,7 @@ module.exports = { preset: 'ts-jest', testEnvironment: 'node', testPathIgnorePatterns: ['/node_modules/', 'dist'], + transform: { + axios: 'axios/dist/node/axios.cjs', // https://stackoverflow.com/a/74297004 + }, };