Skip to content

Commit

Permalink
Exclude stories from coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlasser committed Apr 16, 2024
1 parent bdc91f5 commit 6260575
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export default defineConfig({
environment: "jsdom",
coverage: {
include: ["src/lib/**", "src/routes/**"],
exclude: ["../src/**/*.stories.@(js|jsx|ts|tsx|svelte)"],
reporter: ["text", "html", "lcov", "clover", "json", "json-summary"],
},
},
Expand Down

0 comments on commit 6260575

Please sign in to comment.