ci: add cobertura coverage report

This commit is contained in:
Rainer Killinger
2022-08-17 10:55:55 +02:00
parent 734c6ec262
commit e14b1248d5
2 changed files with 8 additions and 4 deletions

View File

@@ -17,7 +17,7 @@
"prepublishOnly": "npm ci && npm run build",
"preversion": "npm run prepublishOnly",
"push": "git push && git push origin \"v$npm_package_version\"",
"test": "nyc mocha --require source-map-support/register --require ts-node/register 'test/**/*.spec.ts'",
"test": "nyc mocha 'test/**/*.spec.ts'",
"lint": "eslint --ext .ts src/"
},
"author": "Karl-Philipp Wulfert <krlwlfrt@gmail.com>",
@@ -83,6 +83,7 @@
"lines": 95,
"per-file": true,
"reporter": [
"cobertura",
"html",
"text-summary"
],