File tree 3 files changed +10
-8
lines changed
3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 5
5
regression-data /
6
6
nodejs_dc.log
7
7
nodejs_restclient.log
8
+ coverage /
Original file line number Diff line number Diff line change @@ -27,9 +27,10 @@ module.exports = {
27
27
// coverageDirectory: null,
28
28
29
29
// An array of regexp pattern strings used to skip coverage collection
30
- // coveragePathIgnorePatterns: [
31
- // "/node_modules/"
32
- // ],
30
+ coveragePathIgnorePatterns : [
31
+ "/node_modules/" ,
32
+ "/test/mockCache.js" ,
33
+ ] ,
33
34
34
35
// A list of reporter names that Jest uses when writing coverage reports
35
36
// coverageReporters: [
@@ -133,10 +134,10 @@ module.exports = {
133
134
// testLocationInResults: false,
134
135
135
136
// The glob patterns Jest uses to detect test files
136
- // testMatch: [
137
- // "**/__tests__/**/*.js?(x)",
138
- // "**/?(*.)+(spec|test).js?(x)"
139
- // ],
137
+ testMatch : [
138
+ "**/__tests__/**/*.js?(x)" ,
139
+ "**/?(*.)+(spec|test).js?(x)"
140
+ ] ,
140
141
141
142
// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
142
143
// testPathIgnorePatterns: [
Original file line number Diff line number Diff line change 17
17
"start" : " node server.js" ,
18
18
"start-nodemon" : " nodemon --ignore cache/ server.js" ,
19
19
"lint" : " eslint *.js app/routes/*.js" ,
20
- "test" : " jest --coverage test/*.test.js && npm run lint"
20
+ "test" : " jest --coverage && npm run lint"
21
21
},
22
22
"dependencies" : {
23
23
"@octokit/rest" : " ^16.6.1" ,
You can’t perform that action at this time.
0 commit comments