Skip to content

Commit ee46b95

Browse files
authored
Merge pull request #515 from dwyl/remove-tsmocha
[PR] Removing `ts-mocha` for testing/coverage scripts
2 parents e94f761 + f50b5a9 commit ee46b95

File tree

2 files changed

+3
-140
lines changed

2 files changed

+3
-140
lines changed

package-lock.json

-136
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
],
1313
"scripts": {
1414
"lint": "tsc",
15-
"nocov": "ts-mocha test/**/*.spec.ts",
16-
"test": "nyc ts-mocha test/**/*.spec.ts && tsd",
17-
"coverage": "nyc --report html ts-mocha test/**/*.spec.ts && open coverage/index.html",
15+
"nocov": "mocha --require ts-node/register test/**/*.spec.ts",
16+
"test": "nyc mocha --require ts-node/register test/**/*.spec.ts && tsd",
17+
"coverage": "nyc --report html mocha --require ts-node/register test/**/*.spec.ts && open coverage/index.html",
1818
"prepublishOnly": "npm run build",
1919
"build": "tsup"
2020
},
@@ -66,7 +66,6 @@
6666
"is-node-stream": "^1.0.0",
6767
"mocha": "^10.8.2",
6868
"nyc": "^17.0.0",
69-
"ts-mocha": "^10.0.0",
7069
"ts-node": "^10.9.1",
7170
"tsd": "^0.31.0",
7271
"tsup": "^8.0.2",

0 commit comments

Comments
 (0)