From 137516caba20f0fc167236bd6319959d0a9e9c2a Mon Sep 17 00:00:00 2001 From: JFH Date: Thu, 30 Jul 2020 15:02:35 +0200 Subject: [PATCH] refresh tests after move of svgedit-config --- badges/coverage-badge.svg | 2 +- package.json | 15 +++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/badges/coverage-badge.svg b/badges/coverage-badge.svg index 1c862f5a..7ec30fa8 100644 --- a/badges/coverage-badge.svg +++ b/badges/coverage-badge.svg @@ -1 +1 @@ -Statements 37.49%Statements 37.49%Branches 28.78%Branches 28.78%Lines 38.44%Lines 38.44%Functions 47.18%Functions 47.18% +Statements 45.57%Statements 45.57%Branches 34.06%Branches 34.06%Lines 46.73%Lines 46.73%Functions 51.69%Functions 51.69% diff --git a/package.json b/package.json index a74e0e1c..ea9ce13d 100644 --- a/package.json +++ b/package.json @@ -57,13 +57,13 @@ "prep": "run-s prep-no-core-rollup rollup", "prepublishOnly": "run-s license-badges copy prep build-docs", "cypress:open-no-start": "cypress open", - "cypress:instrument": "rimraf instrumented && cp -r src instrumented && nyc instrument --compact false src instrumented", + "cypress:instrument": "rimraf instrumented && cp -r src instrumented && nyc instrument --compact=false src instrumented", "cypress:open": "run-p start cypress:open-no-start", "open-tests": "run-s cypress:instrument cypress:open", "cypress:merge": "mochawesome-merge \"cypress/results/mochaw*.json\" > mochawesome.json && marge mochawesome.json && mbg --file ./mochawesome.json --badge_output badges/tests-badge.svg", "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 report-summary-mocha-full coverage-badge", + "cypress:run": "run-s -n cypress:run-no-badge report-summary-mocha-full coverage-badge", "mochawesome-cli": "node tools/mochawesome-cli.js", "mochawesome-cli-dot": "npm run mochawesome-cli -- --dot", "report-no-mochawesome": "nyc report", @@ -74,13 +74,13 @@ "test-no-cov-no-core-rollup": "run-s prep-no-core-rollup test-only", "test-no-cov": "run-s prep test-only", "test-no-core-rollup": "run-s cypress:instrument test-no-cov-no-core-rollup", - "test": "run-s cypress:instrument test-no-cov" + "test": "run-s cypress:instrument test-only" }, "nyc": { - "statements": 37, - "branches": 28, - "lines": 38, - "functions": 47, + "statements": 45, + "branches": 34, + "lines": 46, + "functions": 45, "exclude": [ "src/external/**", "src/editor/jquery.min.js", @@ -175,7 +175,6 @@ "eslint-plugin-sonarjs": "^0.5.0", "eslint-plugin-standard": "^4.0.1", "eslint-plugin-unicorn": "^21.0.0", - "frs-replace": "^2.0.1", "imageoptim-cli": "^3.0.2", "jamilih": "^0.53.2", "jsdoc": "^3.6.5",