diff --git a/jest-e2e.json b/jest-e2e.json index 218856042..2d0247da3 100644 --- a/jest-e2e.json +++ b/jest-e2e.json @@ -10,14 +10,14 @@ "/test/**/*.e2e-spec.{ts,js}" ], "transform": { - "^.+\\.(t|j)s$": "ts-jest" + "^.+\\.(t|j)s$": [ + "ts-jest", + { + "tsconfig": "test/tsconfig.json" + } + ] }, "coverageDirectory": "./coverage-e2e", "testTimeout": 10000, - "globals": { - "ts-jest": { - "tsconfig": "test/tsconfig.json" - } - }, "reporters": ["default", "github-actions"] } diff --git a/package.json b/package.json index a01053cbf..0f812f4b1 100644 --- a/package.json +++ b/package.json @@ -123,15 +123,15 @@ "rootDir": "src", "testRegex": ".spec.ts$", "transform": { - "^.+\\.(t|j)s$": "ts-jest" + "^.+\\.(t|j)s$": [ + "ts-jest", + { + "tsconfig": "test/tsconfig.json" + } + ] }, "coverageDirectory": "../coverage", "testEnvironment": "node", - "globals": { - "ts-jest": { - "tsconfig": "test/tsconfig.json" - } - }, "reporters": [ "default", "github-actions"