Skip to content
Snippets Groups Projects
Commit 072935c5 authored by admin-sigmundd's avatar admin-sigmundd
Browse files

switched to nyc for code-coverage

parent d11dc61c
Branches
Tags
1 merge request!1Update index.test.js, examples/all-options.js, examples/log-to-file.js,...
......@@ -4,7 +4,7 @@
"description": "A simple Logger with Options!",
"main": "index.js",
"scripts": {
"test": "istanbul cover _mocha -- tests/test.js && rsync --remove-source-files -av --progress ./coverage ./docs/ && rm -Rf ./coverage",
"test": "nyc --reporter=html --reporter=text mocha -- tests/test.js && rsync --remove-source-files -av --progress ./coverage ./docs/ && rm -Rf ./coverage",
"test-graphics":"istanbul cover _mocha -- tests/test.js -R mochawesome && rsync --remove-source-files -av --progress ./coverage ./docs/ && rm -Rf ./coverage && rsync --remove-source-files -av --progress ./mochawesome-report ./docs/ && rm -Rf ./mochawesome-report"
},
"author": "Dominik Sigmund",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment