Coverage is now part of default npm test behavior

This commit is contained in:
Colby Gutierrez-Kraybill 2022-05-27 11:38:37 -04:00
parent 3004342655
commit a0ff8c0fb3

View file

@ -8,10 +8,9 @@
"test": "test"
},
"scripts": {
"test": "npm run test:lint && npm run test:unit && npm run test:integration",
"test": "npm run test:lint && npm run test:unit",
"test:lint": "eslint .",
"test:unit": "tap --reporter nyan test/unit/*.js --statements=97 --branches=97",
"test:coverage": "tap test/{unit,integration}/*.js --coverage --coverage-report=lcov --statements=97 --branches=97"
"test:unit": "tap --reporter nyan test/unit/*.js --statements=97 --branches=97"
},
"author": "Scratch Foundation",
"license": "BSD-3-Clause",