Skip to content

Commit 636eb88

Browse files
committed
Fix rollup deprecation warnings
1 parent d7cca5c commit 636eb88

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

package.json

+9-7
Original file line numberDiff line numberDiff line change
@@ -77,22 +77,24 @@
7777
"typescript": "^5.1.6"
7878
},
7979
"jest": {
80-
"testURL": "http://localhost",
80+
"testEnvironmentOptions": {
81+
"url": "http://localhost"
82+
},
8183
"moduleFileExtensions": [
8284
"js",
8385
"ts"
8486
],
85-
"globals": {
86-
"ts-jest": {
87-
"tsconfig": "tsconfig.json"
88-
}
89-
},
9087
"testMatch": [
9188
"**/test/**/*.test.ts"
9289
],
9390
"testPathIgnorePatterns": [
9491
"<rootDir>/test/data.ts"
9592
],
96-
"preset": "ts-jest"
93+
"preset": "ts-jest",
94+
"transform": {
95+
"^.+\\.tsx?$": ["ts-jest", {
96+
"tsconfig": "tsconfig.json"
97+
}]
98+
}
9799
}
98100
}

0 commit comments

Comments
 (0)