File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change 1
1
const config = {
2
- "preset" : "ts-jest/presets/js-with-ts" ,
3
- "setupFiles" : [
4
- "<rootDir>/src/__helpers__/setupEnvVars.js"
5
- ] ,
6
- "testEnvironment" : "jsdom" ,
7
- "coverageThreshold" : {
8
- "global" : {
9
- "lines" : 90
10
- }
2
+ preset : 'ts-jest/presets/js-with-ts' ,
3
+ setupFiles : [ '<rootDir>/src/__helpers__/setupEnvVars.js' ] ,
4
+ testEnvironment : 'jsdom' ,
5
+ collectCoverage : true ,
6
+ coverageThreshold : {
7
+ global : {
8
+ lines : 90 ,
9
+ } ,
11
10
} ,
12
- " moduleNameMapper" : {
11
+ moduleNameMapper : {
13
12
// Force CommonJS build for http adapter to be available.
14
13
// via https://github.com/axios/axios/issues/5101#issuecomment-1276572468
15
14
'^axios$' : require . resolve ( 'axios' ) ,
16
15
} ,
17
- }
16
+ } ;
18
17
19
18
module . exports = config ;
You can’t perform that action at this time.
0 commit comments