Skip to content

Commit 8b0ad53

Browse files
committed
Move ts-jest config
1 parent c36399d commit 8b0ad53

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,17 @@
5353
"<rootDir>/src"
5454
],
5555
"transform": {
56-
"^.+\\.tsx?$": "ts-jest"
56+
"^.+\\.tsx?$": [
57+
"ts-jest",
58+
{
59+
"diagnostics": {
60+
"ignoreCodes": [
61+
"TS2554",
62+
"TS2345"
63+
]
64+
}
65+
}
66+
]
5767
},
5868
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
5969
"moduleFileExtensions": [
@@ -63,17 +73,7 @@
6373
"jsx",
6474
"json",
6575
"node"
66-
],
67-
"globals": {
68-
"ts-jest": {
69-
"diagnostics": {
70-
"ignoreCodes": [
71-
"TS2554",
72-
"TS2345"
73-
]
74-
}
75-
}
76-
}
76+
]
7777
},
7878
"eslintConfig": {
7979
"root": true,

0 commit comments

Comments
 (0)