diff --git a/jest.config.js b/jest.config.js index efb10d23502..2d17f997ae0 100644 --- a/jest.config.js +++ b/jest.config.js @@ -3,6 +3,9 @@ module.exports = { preset: "ts-jest", logHeapUsage: true, testEnvironment: "node", + moduleNameMapper: { + "^(\\.\\.?\\/.+)\\.jsx?$": "$1", + }, maxWorkers: 1, maxConcurrency: 1, setupFilesAfterEnv: ["jest-extended/all", "./jest.setup.console.logs.js"],