Added c8 to update-check-service

- this must have been missed off when the package was first created,
  but is now required so we can track code coverage
This commit is contained in:
Daniel Lockyer 2022-07-26 15:36:07 +02:00
parent 3d1e53e8f9
commit b72c4482dc
No known key found for this signature in database
GPG Key ID: D21186F0B47295AD

View File

@ -8,13 +8,14 @@
"exports": "./lib/update-check-service.js",
"scripts": {
"dev": "echo \"Implement me!\"",
"test": "NODE_ENV=testing mocha './test/**/*.test.js'",
"test": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'",
"lint": "eslint . --ext .js --cache"
},
"files": [
"lib"
],
"devDependencies": {
"c8": "7.12.0",
"mocha": "10.0.0",
"should": "13.2.3",
"sinon": "14.0.0"