chore: ensure all coverage is run

This commit is contained in:
Alexis Tyler
2021-08-17 08:26:56 +09:30
parent f47eba4112
commit c37d8617d2
2 changed files with 4 additions and 5 deletions

View File

@@ -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

View File

@@ -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",