File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,8 @@ const rules = {
85
85
src : false ,
86
86
dest : false ,
87
87
obj : false ,
88
- val : false
88
+ val : false ,
89
+ env : false
89
90
} ,
90
91
ignore : [ / s t d e r r / i]
91
92
}
@@ -151,7 +152,8 @@ module.exports = {
151
152
'jest/prefer-mock-promise-shorthand' : 'off' ,
152
153
'jest/no-conditional-in-test' : 'off' ,
153
154
'jest/no-conditional-expect' : 'off' ,
154
- 'jest/prefer-each' : 'off'
155
+ 'jest/prefer-each' : 'off' ,
156
+ 'jest/prefer-snapshot-hint' : 'off'
155
157
}
156
158
}
157
159
] ,
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ module.exports = {
9
9
testTimeout : 1000 * 60 * ( process . env . VSCODE_INSPECTOR_OPTIONS ? 60 * 24 : 1 ) ,
10
10
verbose : false ,
11
11
testPathIgnorePatterns : [ '/node_modules/' , '/dist/' ] ,
12
+ setupFilesAfterEnv : [ './test/setup.ts' ] ,
12
13
collectCoverageFrom : [ 'src/**/*.ts?(x)' ] ,
13
14
// ? Make sure jest-haste-map doesn't try to parse and cache fixtures
14
15
modulePathIgnorePatterns : [ '<rootDir>/test/fixtures' ]
Original file line number Diff line number Diff line change 23
23
"target" : " esnext"
24
24
},
25
25
"exclude" : [" node_modules" ],
26
- "include" : [" src/**/*" , " test/**/*" ]
26
+ "include" : [" types/**/* " , " src/**/*" , " test/**/*" ]
27
27
}
You can’t perform that action at this time.
0 commit comments