We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7cca5c commit 636eb88Copy full SHA for 636eb88
package.json
@@ -77,22 +77,24 @@
77
"typescript": "^5.1.6"
78
},
79
"jest": {
80
- "testURL": "http://localhost",
+ "testEnvironmentOptions": {
81
+ "url": "http://localhost"
82
+ },
83
"moduleFileExtensions": [
84
"js",
85
"ts"
86
],
- "globals": {
- "ts-jest": {
87
- "tsconfig": "tsconfig.json"
88
- }
89
- },
90
"testMatch": [
91
"**/test/**/*.test.ts"
92
93
"testPathIgnorePatterns": [
94
"<rootDir>/test/data.ts"
95
96
- "preset": "ts-jest"
+ "preset": "ts-jest",
+ "transform": {
+ "^.+\\.tsx?$": ["ts-jest", {
+ "tsconfig": "tsconfig.json"
97
+ }]
98
+ }
99
}
100
0 commit comments