diff --git a/packages/ui/jest.config.js b/packages/ui/jest.config.js index 24786d39fea..09e360a00cc 100644 --- a/packages/ui/jest.config.js +++ b/packages/ui/jest.config.js @@ -17,6 +17,9 @@ module.exports = { }, preset: 'ts-jest', testEnvironment: 'jsdom', + moduleNameMapper: { + axios: 'axios/dist/node/axios.cjs', + }, modulePathIgnorePatterns: ['/dist/'], globals: { 'ts-jest': {