77const config = {
88
99 // The root directory that Jest should scan for tests and modules within
10- rootDir : "./" ,
10+ rootDir : './' ,
1111
1212 // Automatically clear mock calls, instances, contexts and results before every test
1313 clearMocks : true ,
@@ -17,42 +17,42 @@ const config = {
1717
1818 // An array of glob patterns indicating a set of files for which coverage information should be collected
1919 collectCoverageFrom : [
20- " <rootDir>/client/src/**/*.js" ,
21- " <rootDir>/app/**/*.js" ,
22- " !<rootDir>/client/src/**/__tests__/**" ,
23- " !<rootDir>/app/**/__tests__/**" ,
24- " !<rootDir>/app/public/**" ,
25- " !<rootDir>/app/preload/**" ,
20+ ' <rootDir>/client/src/**/*.js' ,
21+ ' <rootDir>/app/**/*.js' ,
22+ ' !<rootDir>/client/src/**/__tests__/**' ,
23+ ' !<rootDir>/app/**/__tests__/**' ,
24+ ' !<rootDir>/app/public/**' ,
25+ ' !<rootDir>/app/preload/**' ,
2626 ] ,
2727
2828 // The directory where Jest should output its coverage files
29- coverageDirectory : " <rootDir>/coverage" ,
29+ coverageDirectory : ' <rootDir>/coverage' ,
3030
3131 // Indicates which provider should be used to instrument code for coverage
32- coverageProvider : "v8" ,
32+ coverageProvider : 'v8' ,
3333
3434 // An object that configures minimum threshold enforcement for coverage results
35- coverageThreshold : {
36- global : {
35+ coverageThreshold : {
36+ global : {
3737 lines : 0 ,
3838 statements : 0 ,
39- }
39+ }
4040 } ,
4141
4242 // The test environment that will be used for testing
43- testEnvironment : " jsdom" ,
43+ testEnvironment : ' jsdom' ,
4444
4545 // The glob patterns Jest uses to detect test files
46- testMatch : [ " **/?(*.)+(spec|test).js" ] ,
46+ testMatch : [ ' **/?(*.)+(spec|test).js' ] ,
4747
4848 // A map from regular expressions to paths to transformers
4949 transform : {
50- " ^.+\\.(ts|js|jsx)$" : " babel-jest" ,
51- " .+\\.(svg|css|styl|less|sass|scss|png|jpg|ttf|woff|woff2|jpeg)$" :
52- " jest-transform-stub" ,
53- " ^.+\\.(bpmn)$" : " <rootDir>/jest-raw-loader.js" ,
50+ ' ^.+\\.(ts|js|jsx)$' : ' babel-jest' ,
51+ ' .+\\.(svg|css|styl|less|sass|scss|png|jpg|ttf|woff|woff2|jpeg)$' :
52+ ' jest-transform-stub' ,
53+ ' ^.+\\.(bpmn)$' : ' <rootDir>/jest-raw-loader.js' ,
5454 } ,
5555
5656} ;
5757
58- module . exports = config ;
58+ module . exports = config ;
0 commit comments