jest-doctor 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.d.ts
CHANGED
|
@@ -104,7 +104,12 @@ const schema = zod
|
|
|
104
104
|
})
|
|
105
105
|
.default(DEFAULTS.report),
|
|
106
106
|
verbose: zod.boolean().default(false),
|
|
107
|
-
delayThreshold: zod
|
|
107
|
+
delayThreshold: zod
|
|
108
|
+
.int()
|
|
109
|
+
.gte(0)
|
|
110
|
+
.or(zod.literal('Infinity'))
|
|
111
|
+
.default(0)
|
|
112
|
+
.transform((value) => (value === 'Infinity' ? Infinity : value)),
|
|
108
113
|
timerIsolation: zod
|
|
109
114
|
.enum(['afterEach', 'immediate', 'beforeEach'])
|
|
110
115
|
.default('afterEach'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jest-doctor",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Custom Jest environment that detects async leaks between tests, enforces test isolation, and prevents flaky failures in CI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Stephan Dum",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@dev/eslint": "1.0.0",
|
|
43
43
|
"@dev/tsconfig": "1.0.0",
|
|
44
44
|
"@jest/reporters": "30.3.0",
|
|
45
|
-
"@swc/core": "^1.15.
|
|
45
|
+
"@swc/core": "^1.15.24",
|
|
46
46
|
"@swc/jest": "^0.2.39",
|
|
47
47
|
"@testing-library/dom": "^10.4.1",
|
|
48
48
|
"@testing-library/jest-dom": "^6.9.1",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@types/react-dom": "^19.2.3",
|
|
55
55
|
"c8": "^11.0.0",
|
|
56
56
|
"cross-spawn": "^7.0.6",
|
|
57
|
-
"eslint": "^10.0
|
|
57
|
+
"eslint": "^10.2.0",
|
|
58
58
|
"jest": "30.3.0",
|
|
59
59
|
"jest-environment-jsdom": "^30.3.0",
|
|
60
60
|
"jest-environment-node": "^30.3.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"react": "^19.2.4",
|
|
64
64
|
"react-dom": "^19.2.4",
|
|
65
65
|
"shx": "^0.4.0",
|
|
66
|
-
"ts-jest": "^29.4.
|
|
66
|
+
"ts-jest": "^29.4.9",
|
|
67
67
|
"typescript": "5.9.3"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"zod": "^4.3.6"
|
|
85
85
|
},
|
|
86
86
|
"scripts": {
|
|
87
|
-
"prepare:publish": "shx rm -fR dist && yarn build && npm publish",
|
|
87
|
+
"prepare:publish": "shx rm -fR dist && yarn build && npm login && npm publish",
|
|
88
88
|
"typecheck": "tsc",
|
|
89
89
|
"build": "tsc --project tsconfig.build.json",
|
|
90
90
|
"dev": "yarn typecheck --watch & yarn build --watch",
|