From 135288d61b7e8550769f2fbc53fb8d18610174b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Machulda?= Date: Tue, 2 Jan 2024 14:20:00 +0100 Subject: [PATCH] Chore: Fix ts-jest config deprecations --- config/jest.config.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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"] }