diff --git a/jest.config.js b/jest.config.js index 30f46f3..ce03b66 100644 --- a/jest.config.js +++ b/jest.config.js @@ -7,4 +7,7 @@ module.exports = { tsconfig: 'tsconfig.test.json', }, }, + moduleNameMapper: { + '^axios$': 'axios/dist/node/axios.cjs', + }, }; \ No newline at end of file diff --git a/package.json b/package.json index 7fe7a07..08eef22 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "aws-jwt-verify": "^2.1.1", - "axios": "^0.25.0", + "axios": "^1.6.5", "pino": "^8.14.1" }, "devDependencies": {