Fix for coverage
This commit is contained in:
parent
27dd805560
commit
ed376a6dae
|
@ -10,7 +10,7 @@ jobs:
|
||||||
- run: npm run coverage
|
- run: npm run coverage
|
||||||
- run: npm run clean
|
- run: npm run clean
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: .nyc_output
|
path: ./coverage
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node ./test.js",
|
"test": "node ./test.js",
|
||||||
"clean": "node ./clean.js",
|
"clean": "node ./clean.js",
|
||||||
"coverage": "nyc --reporter=lcovonly npm run test | codacy-coverage"
|
"coverage": "nyc --reporter=lcovonly --report-dir=./coverage npm run test | codacy-coverage"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in New Issue