Skip to content

Commit

Permalink
fix(coverage): exclude bench files from coverage (#5983)
Browse files Browse the repository at this point in the history
  • Loading branch information
kouak authored Jun 29, 2024
1 parent 200a434 commit 429e1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const defaultCoverageExcludes = [
'cypress/**',
'test?(s)/**',
'test?(-*).?(c|m)[jt]s?(x)',
'**/*{.,-}{test,spec}?(-d).?(c|m)[jt]s?(x)',
'**/*{.,-}{test,spec,bench,benchmark}?(-d).?(c|m)[jt]s?(x)',
'**/__tests__/**',
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*',
'**/vitest.{workspace,projects}.[jt]s?(on)',
Expand Down

0 comments on commit 429e1a7

Please sign in to comment.