changing test coverage to remap also lcov report
This commit is contained in:
parent
f1e61e8bf7
commit
4d39b6c68c
@ -9,7 +9,7 @@
|
||||
"compile": "npm run clean && tsc",
|
||||
"precommit": "npm run prettier && git update-index --again",
|
||||
"test": "istanbul cover ./node_modules/mocha/bin/_mocha dist/test/**/*.test.js -- -R spec",
|
||||
"posttest": "remap-istanbul -i ./coverage/coverage.json -o ./coverage/coverage-remapped.json && codecov --file=./coverage/coverage-remapped.json ",
|
||||
"posttest": "remap-istanbul -i ./coverage/coverage.json -o ./coverage/lcov.info -t lcovonly && remap-istanbul -i ./coverage/coverage.json -o ./coverage/coverage.json && codecov --file=./coverage/coverage.json ",
|
||||
"clean": "rimraf dist coverage output",
|
||||
"prettier": "prettier --write ./src/*.ts ./src/**/*.ts",
|
||||
"prepack": "npm run compile"
|
||||
|
Loading…
Reference in New Issue
Block a user