diff --git a/.nycrc b/.nycrc index 8848fa90fd..d4091b1a0f 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/**" ] }