Skip to content

Commit 0d395fc

Browse files
committed
Fix ts-jest tsconfig override
1 parent 679b507 commit 0d395fc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

jest.config.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ import config from "@snout/jest-config";
22

33
export default {
44
...config,
5-
globals: {
6-
"ts-jest": {
7-
tsconfig: "test/tsconfig.json",
8-
},
5+
transform: {
6+
"\\.tsx?$": ["ts-jest", { tsconfig: "test/tsconfig.json" }],
97
},
108
};

0 commit comments

Comments
 (0)