Skip to content

Commit ebc21c4

Browse files
adding 'text'-reporter for coverage seems to prevent nyc error
1 parent 63c7556 commit ebc21c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
"cover-v4": "npm run prepare-test-v4 && nyc --exclude lib/models/v3/**/*.js mocha",
1515
"exec-tests": "mocha test/specs/",
1616
"test": "npm run test-v4 && npm run test-v3",
17-
"clean": "rimraf .nyc_output && rimraf coverage && npm install",
18-
"cover": "npm run clean && npm run cover-v4 && npm run clean && npm run cover-v3",
17+
"cover": "npm run cover-v4 && npm run cover-v3",
1918
"lint": "tslint ."
2019
},
2120
"repository": {
@@ -97,6 +96,7 @@
9796
],
9897
"reporter": [
9998
"lcov",
99+
"text",
100100
"text-summary"
101101
],
102102
"cache": false,

0 commit comments

Comments
 (0)