From 8de88b01543c3a508d95dbd8a1ad7f400f6652a4 Mon Sep 17 00:00:00 2001 From: delvedor Date: Mon, 23 Mar 2020 18:03:42 +0100 Subject: [PATCH] Updated code coverage scripts --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7a901c290..3c09b95da 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "test:integration": "node test/integration/index.js", "test:integration:helpers": "tap test/integration/helpers/*.test.js --no-coverage -J", "test:types": "tsd", - "test:coverage": "nyc tap test/unit/*.test.js test/behavior/*.test.js -t 300 && nyc report --reporter=text-lcov > coverage.lcov", + "test:coverage": "tap test/unit/*.test.js test/unit/**/*.test.js test/behavior/*.test.js -t 300 && nyc report --reporter=text-lcov > coverage.lcov", + "test:coverage-ui": "tap test/unit/*.test.js test/unit/**/*.test.js test/behavior/*.test.js -t 300 --coverage-report=html", "lint": "standard", "lint:fix": "standard --fix", "ci": "npm run license-checker && npm test && npm run test:integration:helpers && npm run test:integration && npm run test:coverage",