Skip to content

Commit

Permalink
chore: exclude packages/*/src/index.ts from test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Dec 31, 2024
1 parent 533c156 commit 5f38156
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { defineProject } from "vitest/config";
export default defineProject({
test: {
clearMocks: true,
exclude: ["lib", "node_modules"],
exclude: ["lib", "node_modules", "src/index.ts"],
},
});
1 change: 1 addition & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export default defineConfig({
"**/*.d.ts",
"**/*.js",
"**/vitest.*.ts",
"packages/*/src/index.ts",
"packages/site/astro.config.ts",
"packages/site/src/content",
],
Expand Down

0 comments on commit 5f38156

Please sign in to comment.