Skip to content

Commit

Permalink
vitest: exclude index, types from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
hbbio committed Feb 5, 2024
1 parent 9fbc4e7 commit a6626a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vitest.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ import { defineConfig } from "vite";
export default defineConfig({
test: {
environment: "happy-dom",
coverage: {
exclude: ["src/index.ts", "src/types.ts"],
},
},
});

0 comments on commit a6626a5

Please sign in to comment.