Skip to content

Commit dd518f0

Browse files
committed
chore: Upgrade jest and ts-jest
1 parent 818d53a commit dd518f0

File tree

3 files changed

+1127
-694
lines changed

3 files changed

+1127
-694
lines changed

jest.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { createDefaultPreset } from 'ts-jest';
2+
3+
export default {
4+
...createDefaultPreset(),
5+
coverageProvider: 'v8',
6+
coverageThreshold: {
7+
global: {
8+
branches: 100,
9+
functions: 100,
10+
lines: 100,
11+
statements: 0,
12+
},
13+
},
14+
};

package.json

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,6 @@
1818
"tsc": "tsc",
1919
"watch": "tsc --watch"
2020
},
21-
"jest": {
22-
"coverageDirectory": "<rootDir>/../coverage",
23-
"coverageThreshold": {
24-
"global": {
25-
"branches": 100,
26-
"functions": 100,
27-
"lines": 100,
28-
"statements": 0
29-
}
30-
},
31-
"preset": "ts-jest",
32-
"rootDir": "src",
33-
"testEnvironment": "node"
34-
},
3521
"repository": {
3622
"type": "git",
3723
"url": "git+https://github.com/expo/expo-server-sdk-node.git"
@@ -59,11 +45,11 @@
5945
"@types/promise-retry": "1.1.6",
6046
"eslint": "9.26.0",
6147
"eslint-config-universe": "15.0.3",
62-
"jest": "29.7.0",
48+
"jest": "30.0.3",
6349
"jiti": "2.4.2",
6450
"msw": "2.10.2",
6551
"prettier": "3.5.3",
66-
"ts-jest": "29.3.2",
52+
"ts-jest": "29.4.0",
6753
"typescript": "5.8.3"
6854
},
6955
"packageManager": "[email protected]"

0 commit comments

Comments
 (0)