Skip to content

Commit

Permalink
build: Exclude generated files from code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
lasuillard committed Aug 27, 2024
1 parent e4f8ca7 commit f98b7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default defineConfig({
coverage: {
all: true,
include: ["src/**"],
exclude: ["src/**/__mocks__/*", "src/**/*.d.ts"],
exclude: ["src/**/__mocks__/*", "src/**/*.d.ts", "src/generated/**"],
reporter: ["text", "clover", "html"],
},
setupFiles: ["dotenv/config", "tests/setup.ts"],
Expand Down

0 comments on commit f98b7cf

Please sign in to comment.