- Fix coverage path

- Add reporters for nyc
master
Brett Zamir 2019-11-23 21:58:24 +08:00
parent 70aa62ee7b
commit 592ce80411
1 changed files with 7 additions and 1 deletions

View File

@ -29,7 +29,7 @@
"start": "echo \"Open file to http://localhost:8000/test/all_tests.html\" && static -p 8000",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"open-report": "open http://localhost:3000/coverage/",
"open-report": "open http://localhost:8000/coverage/",
"start-open-report": "run-p start open-report",
"instrument": "npx nyc instrument editor instrumented",
"open-cov": "npm-run-all instrument --parallel --race start cypress:open",
@ -43,6 +43,12 @@
"test": "run-p start cypress:run",
"browser-test": "npm run test-prep && open-cli http://localhost:8000/test/all_tests.html && static -p 8000"
},
"nyc": {
"reporter": [
"text",
"html"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/SVG-Edit/svgedit.git"