Commit 14dde14 1 parent 14a15d4 commit 14dde14 Copy full SHA for 14dde14
File tree 4 files changed +5
-3
lines changed
4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 49
49
- run : npm install
50
50
- name : Install webpack ${{ matrix.webpack-version }}
51
51
run : npm i webpack@${{ matrix.webpack-version }}
52
- - run : npm run test
52
+ - run : npm run test:coverage
Original file line number Diff line number Diff line change 1
1
node_modules
2
+ /coverage
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ module.exports = {
24
24
// collectCoverageFrom: null,
25
25
26
26
// The directory where Jest should output its coverage files
27
- // coverageDirectory: null ,
27
+ coverageDirectory : "coverage" ,
28
28
29
29
// An array of regexp pattern strings used to skip coverage collection
30
30
// coveragePathIgnorePatterns: [
Original file line number Diff line number Diff line change 10
10
"scripts" : {
11
11
"prepublishOnly" : " npm run lint" ,
12
12
"lint" : " eslint index.js" ,
13
- "test" : " jest"
13
+ "test" : " jest" ,
14
+ "test:coverage" : " jest --coverage"
14
15
},
15
16
"husky" : {
16
17
"hooks" : {
You can’t perform that action at this time.
0 commit comments