From c37d8617d2f320be113edcaf2591680a40dd00df Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Tue, 17 Aug 2021 08:26:56 +0930 Subject: [PATCH] chore: ensure all coverage is run --- .github/workflows/main.yml | 2 +- package.json | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 04afc981c..9aef86efe 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -87,7 +87,7 @@ jobs: run: npm install - name: Check coverage - run: npm run cover:types + run: npm run cover compile-source: runs-on: ubuntu-latest diff --git a/package.json b/package.json index d7f23ec77..d3a3b600a 100644 --- a/package.json +++ b/package.json @@ -19,10 +19,9 @@ "lint:quiet": "eslint --quiet", "lint:fix": "eslint --fix", "test": "nyc ava", - "cover": "npm run cover:unit && npm run cover:integration && npm run cover:report", - "cover:unit": "nyc --silent npm run test:unit", - "cover:integration": "nyc --silent --no-clean npm run test:integration", - "cover:types": "typescript-coverage-report && npx tsup ./app/cli.ts --dts", + "cover": "npm run cover:types && npm run cover:unit && npm run cover:report", + "cover:types": "typescript-coverage-report && tsup ./app/cli.ts --dts", + "cover:unit": "nyc --silent npm run test", "cover:report": "nyc report --reporter=lcov --reporter=text", "patch": "npm-run-all patch:**", "patch:subscriptions-transport-ws": "node ./.scripts/patches/subscriptions-transport-ws.js",