diff --git a/mocha-multi-reporters.json b/mocha-multi-reporters.json index 560081f3..787d32e0 100644 --- a/mocha-multi-reporters.json +++ b/mocha-multi-reporters.json @@ -5,5 +5,5 @@ "html": false, "json": true }, - "reporterEnabled": "spec, mochawesome" + "reporterEnabled": "mochawesome" } diff --git a/package.json b/package.json index 6809d1ef..b0425d9a 100644 --- a/package.json +++ b/package.json @@ -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/",