Skip to content

Commit 082a1e9

Browse files
clean process before running code coverage added
1 parent ba73cda commit 082a1e9

File tree

2 files changed

+36
-10
lines changed

2 files changed

+36
-10
lines changed

package-lock.json

Lines changed: 32 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"cover-v4": "npm run prepare-test-v4 && nyc --exclude lib/models/v3/**/*.js mocha",
1515
"exec-tests": "mocha",
1616
"test": "npm run test-v4 && npm run test-v3",
17-
"cover": "npm run cover-v4",
17+
"clean-coverage": "rimraf .nyc_output && rimraf coverage",
18+
"cover": "npm run clean-coverage && npm run cover-v4",
1819
"lint": "tslint ."
1920
},
2021
"repository": {
@@ -70,9 +71,10 @@
7071
"nyc": "11.2.1",
7172
"prettyjson": "1.2.1",
7273
"reflect-metadata": "0.1.9",
74+
"rimraf": "2.6.2",
7375
"sinon": "1.17.7",
7476
"sinon-chai": "2.8.0",
75-
"source-map-support": "0.4.14",
77+
"source-map-support": "0.5.0",
7678
"sqlite3": "3.1.8",
7779
"ts-node": "3.3.0",
7880
"tslint": "4.3.1",

0 commit comments

Comments
 (0)