From 064be30bcb348d6385d7abb4d21d50cf00181ccd Mon Sep 17 00:00:00 2001 From: Marcin Kulpa Date: Mon, 28 Oct 2024 08:31:42 +0100 Subject: [PATCH] test: calculate coverage for src files only (#2822) --- 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/', },