Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

chore: create exclusions for nyc (#5609)

Nikolas Lennon702473a54d93
diff --git a/package.json b/package.json
index 689c488b..13660fdf 100644
--- a/package.json
+++ b/package.json
@@ -42,6 +42,15 @@
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
+ "nyc": {
+ "all": true,
+ "exclude": [
+ "package-lock.json",
+ "**/package-lock.json",
+ "node_modules/**",
+ "test/**"
+ ]
+ },
"scripts": {
"build": "rollup -c ./rollup.config.mjs",
"clean": "rimraf mocha.js mocha.js.map",