diff --git a/config/jest.config.json b/config/jest.config.json index 87431b6d..bbc3de09 100644 --- a/config/jest.config.json +++ b/config/jest.config.json @@ -1,16 +1,16 @@ { "rootDir": "../", "transform": { - "\\.[j|t]s?$": "ts-jest" + "\\.[j|t]s?$": [ + "ts-jest", + { + "isolatedModules": true + } + ] }, "testPathIgnorePatterns": [ "/node_modules/", "/dist/" ], - "modulePathIgnorePatterns": ["/dist"], - "globals": { - "ts-jest": { - "isolatedModules": true - } - } + "modulePathIgnorePatterns": ["/dist"] }