diff --git a/ghost/core/.c8rc.json b/ghost/core/.c8rc.json index 5e4be32a62..c00b46b288 100644 --- a/ghost/core/.c8rc.json +++ b/ghost/core/.c8rc.json @@ -7,7 +7,7 @@ "cobertura" ], "statements": 57, - "branches": 85, + "branches": 80, "functions": 51, "lines": 57, "include": [ diff --git a/ghost/core/package.json b/ghost/core/package.json index b415c9c3e9..79fa9fe0c7 100644 --- a/ghost/core/package.json +++ b/ghost/core/package.json @@ -33,7 +33,7 @@ "test:e2e": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/e2e-api' './test/e2e-frontend' './test/e2e-server' './test/e2e-webhooks' --timeout=15000", "test:regression": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/regression' --timeout=60000", "test:browser": "playwright test --browser=all test/e2e-browser", - "test:ci": "yarn test:e2e -b && yarn test:integration -b && yarn test:regression -b", + "test:ci": "c8 yarn test:e2e -b && yarn test:integration -b && yarn test:regression -b", "test:unit:slow": "yarn test:unit --reporter=mocha-slow-test-reporter", "test:int:slow": "yarn test:integration --reporter=mocha-slow-test-reporter", "test:e2e:slow": "yarn test:e2e --reporter=mocha-slow-test-reporter",