diff --git a/package.json b/package.json index 8d3e2e88..b29f41ce 100644 --- a/package.json +++ b/package.json @@ -60,6 +60,11 @@ "last 1 safari version" ] }, + "jest": { + "moduleNameMapper": { + "^axios$": "axios/dist/node/axios.cjs" + } + }, "devDependencies": { "@testing-library/jest-dom": "^5.14.1", "@testing-library/react": "^11.2.7",