feat: added nyc for test coverage reporting. fix: add jsdoc comments

This commit is contained in:
StevanFreeborn
2023-01-26 13:58:25 -06:00
parent b36d9445bd
commit 8b6e5ccefc
10 changed files with 2993 additions and 27 deletions
+4 -1
View File
@@ -7,15 +7,18 @@
"scripts": {
"build": "npm tests && tsc",
"tests": "mocha -r ts-node/register ./tests/**/*.spec.ts",
"test": "mocha -r ts-node/register"
"test": "mocha -r ts-node/register",
"test-coverage": "nyc npm run tests"
},
"author": "Stevan Freeborn",
"license": "MIT",
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",
"chai": "^4.3.7",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},