Fix for coverage

This commit is contained in:
Cyrille 2019-05-09 10:07:11 +01:00
parent 27dd805560
commit ed376a6dae
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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",