Skip to content

armgit / mocha

Public Imported from GitHub
0

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

fix nyc ignorelist

Christopher Hiller27b799e26459
diff --git a/.nycrc b/.nycrc
index 8848fa90..d4091b1a 100644
--- a/.nycrc
+++ b/.nycrc
@@ -4,7 +4,17 @@
"text-summary"
],
"exclude": [
- "lib/browser",
- "test/**/*"
+ "coverage/**",
+ "packages/*/test{,s}/**",
+ "**/*.d.ts",
+ "test{,s}/**",
+ "test{,-*}.{js,cjs,mjs,ts}",
+ "**/*{.,-}test.{js,cjs,mjs,ts}",
+ "**/__tests__/**",
+ "**/{karma,rollup,webpack}.config.js",
+ "**/{babel.config,.eslintrc,.mocharc}.{js,cjs}",
+ "lib/browser/**",
+ "package-scripts.js",
+ "scripts/**"
]
}