Fix for coverage

This commit is contained in:
Cyrille 2019-05-09 10:04:54 +01:00
parent 543983597d
commit 27dd805560
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,3 +1,4 @@
.env .env
node_modules/ node_modules/
.nyc_output/ .nyc_output/
coverage/

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 npm run test | codacy-coverage" "coverage": "nyc --reporter=lcovonly npm run test | codacy-coverage"
}, },
"repository": { "repository": {
"type": "git", "type": "git",