Skip to content

Commit

Permalink
update unit test coverage exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemh committed Mar 7, 2024
1 parent 5ea7f3e commit 923741d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,30 @@ export default defineConfig({
},
coverage: {
reportsDirectory: './vitest-coverage',
exclude: [
'coverage/**',
'{cypress,vitest}-coverage/**',
'dist/**',
'.storybook-dist/**',
'.next/**',
'**/*.d.ts',
'{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*',
'vitest.{workspace,projects}.[jt]s?(on)',
'.{eslint,mocha,prettier}rc.{?(c|m)js,yml}',
'node_modules/**',
'cypress/**',
'common/config/**',
'common/styles/**',
'common/constants/**',
'scripts/**',
'test-utils/**',
'common/utils/api-utils.{[jt]s}',
'components/ZipRecruiterJobs/ZipRecruiterJobs.{[jt]s}',
'components/Press/PressLinks/Articles.{[jt]s}',
'components/Timeline/historyData.{[jt]s}',
'common/(.*)/index.{[jt]s}',
'components/(.*)/index.{[jt]s}',
],
},
},
});

0 comments on commit 923741d

Please sign in to comment.