Skip to content

Commit

Permalink
test: exclude drivers and scripts directories from test coverage (#562)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjpearson authored Jan 2, 2025
1 parent 9e15ab9 commit 7fd4933
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion vite.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig } from "vitest/config";
import { defineConfig, configDefaults } from "vitest/config";

export default defineConfig({
test: {
Expand All @@ -7,5 +7,12 @@ export default defineConfig({
typecheck: {
enabled: true,
},
coverage: {
exclude: [
...configDefaults.coverage.exclude,
"./drivers/**",
"./scripts/**",
],
},
},
});

0 comments on commit 7fd4933

Please sign in to comment.