File tree 5 files changed +11
-6
lines changed
5 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 38
38
"message": "Use `globalThis` instead"
39
39
}
40
40
],
41
+ "prefer-rest-params": 0,
41
42
"require-yield": 0,
42
43
"eqeqeq": ["error", "smart"],
43
44
"spaced-comment": [
Original file line number Diff line number Diff line change 40
40
"resource-counter" : " ^1.2.4"
41
41
},
42
42
"devDependencies" : {
43
- "@fast-check/jest" : " ^1.8.1 " ,
43
+ "@fast-check/jest" : " ^2.1.0 " ,
44
44
"@swc/core" : " 1.3.82" ,
45
45
"@swc/jest" : " ^0.2.29" ,
46
46
"@types/jest" : " ^29.5.2" ,
53
53
"eslint-config-prettier" : " ^8.8.0" ,
54
54
"eslint-plugin-import" : " ^2.27.5" ,
55
55
"eslint-plugin-prettier" : " ^5.0.0-alpha.2" ,
56
- "fast-check" : " ^3.10 .0" ,
56
+ "fast-check" : " ^4.0 .0" ,
57
57
"jest" : " ^29.6.2" ,
58
58
"jest-extended" : " ^4.0.0" ,
59
59
"jest-junit" : " ^16.0.0" ,
Original file line number Diff line number Diff line change 1
- import { jest } from '@jest/globals' ;
2
-
3
- globalThis . jest = jest ;
Original file line number Diff line number Diff line change
1
+ import { jest } from '@jest/globals' ;
2
+
1
3
// Default timeout per test
2
4
// some tests may take longer in which case you should specify the timeout
3
5
// explicitly for each test by using the third parameter of test function
Original file line number Diff line number Diff line change 28
28
" ./tests/**/*" ,
29
29
" ./scripts/**/*" ,
30
30
" ./benches/**/*"
31
- ]
31
+ ],
32
+ "ts-node" : {
33
+ "esm" : true ,
34
+ "transpileOnly" : true ,
35
+ "swc" : true
36
+ }
32
37
}
You can’t perform that action at this time.
0 commit comments