Skip to content

Commit

Permalink
fix(workflow): exclude lib from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jharlow committed Oct 11, 2024
1 parent 67682bc commit 7fbfb63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig } from "vitest/config";
import { configDefaults, defineConfig } from "vitest/config";

export default defineConfig({
test: {
Expand All @@ -10,6 +10,7 @@ export default defineConfig({
branches: 100,
statements: 100,
},
exclude: configDefaults.coverage.exclude?.concat(["<rootDir>/../lib/**"]),
},
},
});

0 comments on commit 7fbfb63

Please sign in to comment.