Skip to content

Commit

Permalink
fix: add spec to defaults to exclude from coverage (fix #1612) (#1627)
Browse files Browse the repository at this point in the history
Co-authored-by: Rudra Pandya <rpandya@escribemeetings.com>
  • Loading branch information
pandyarudra and rpandyaescribe committed Jul 14, 2022
1 parent 6673389 commit 21170ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vitest/src/defaults.ts
Expand Up @@ -14,6 +14,7 @@ const defaultCoverageExcludes = [
'test{,s}/**',
'test{,-*}.{js,cjs,mjs,ts,tsx,jsx}',
'**/*{.,-}test.{js,cjs,mjs,ts,tsx,jsx}',
'**/*{.,-}spec.{js,cjs,mjs,ts,tsx,jsx}',
'**/__tests__/**',
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc}.config.{js,cjs,mjs,ts}',
'**/.{eslint,mocha,prettier}rc.{js,cjs,yml}',
Expand Down

0 comments on commit 21170ed

Please sign in to comment.