From 5c4b290a042bcb9f2bd60d9e54761cc5d5fb1a89 Mon Sep 17 00:00:00 2001 From: Marcin Date: Sun, 27 Oct 2024 00:43:10 +0200 Subject: [PATCH] test: calculate coverage for src files only --- vitest.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vitest.config.ts b/vitest.config.ts index 6e23265df3..685df2b269 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -20,6 +20,7 @@ export default defineConfig({ coverage: { reporter: ['text', 'json', 'html', 'text-summary'], reportsDirectory: './coverage/', + include: ['src/**'], }, onConsoleLog(log) { if (log.includes('DOMException')) return false