From 0a75bb7ceedebdbf608216f7416c8c8854374d27 Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Tue, 16 Apr 2024 12:42:09 -0400 Subject: [PATCH] Remove stories files from coverage reports --- vite.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.js b/vite.config.js index bbf28cef2..952ea89ab 100644 --- a/vite.config.js +++ b/vite.config.js @@ -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"], }, },