Skip to content

Commit

Permalink
Exclude non-applicable files from code coverage reports.
Browse files Browse the repository at this point in the history
  • Loading branch information
derekpierre committed Aug 20, 2024
1 parent 586ba8e commit 5f28cfe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ export default defineConfig({
reporter: ['text', 'html', 'lcov', 'clover'],
reportsDirectory: 'coverage',
include: ['packages/**/*.ts'],
exclude: ['packages/**/*.test.ts'],
exclude: [
'packages/**/*.test.ts',
'packages/taco/examples/*.ts',
'packages/shared/scripts/*.ts',
'packages/test-utils/**/*.ts',
],
},
},
});

0 comments on commit 5f28cfe

Please sign in to comment.