From b1a3929c3e95d6c95b628907f85998fdb531ba77 Mon Sep 17 00:00:00 2001 From: Marcin Date: Sun, 27 Oct 2024 20:26:16 +0100 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 4e57d4f363..ae40c35d47 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -18,6 +18,7 @@ export default defineConfig({ dir: 'tests', reporters: 'basic', coverage: { + include: ['src/**/'], reporter: ['text', 'json', 'html', 'text-summary'], reportsDirectory: './coverage/', },