- Testing: Remove extra `spec`

- Testing (coverag)e: Remove `nyc_output` to avoid instrumentation building on past results
master
Brett Zamir 2020-01-06 14:45:53 +08:00
parent 05fe0cc526
commit 2810d8e699
2 changed files with 3 additions and 3 deletions

View File

@ -5,5 +5,5 @@
"html": false,
"json": true
},
"reporterEnabled": "spec, mochawesome"
"reporterEnabled": "mochawesome"
}

View File

@ -34,8 +34,8 @@
"start-embedded": "echo \"Open file to http://localhost:8000/editor/embedapi.html\" && run-p start start-allow-origin",
"start": "echo \"Open file, e.g., to http://localhost:8000/editor/svg-editor-es.html\" && static -p 8000",
"cypress:open": "cypress open",
"cypress:merge": "mochawesome-merge \"cypress/results/*.json\">mochawesome.json && marge mochawesome.json && node build/testing-badge.js",
"cypress:run-only": "rimraf \"cypress/results/*\" && cypress run",
"cypress:merge": "mochawesome-merge \"cypress/results/mochaw*.json\" > mochawesome.json && marge mochawesome.json && node build/testing-badge.js",
"cypress:run-only": "rimraf \"cypress/results/mochaw*.json\" && rimraf \".nyc_output/*\" && cypress run",
"cypress:run-no-badge": "run-s -c cypress:run-only cypress:merge",
"cypress:run": "run-s -c cypress:run-no-badge coverage-badge",
"open-report-no-start": "open-cli http://localhost:8000/coverage/",