From 4c98bbecf8ed369d3e4aa45f10b6bd566521ab82 Mon Sep 17 00:00:00 2001 From: Marcin Date: Sun, 27 Oct 2024 20:36:59 +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 2af6c60c..32841e8b 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -13,6 +13,7 @@ export default defineConfig({ name: 'valtio', setupFiles: './tests/setup.ts', coverage: { + include: ['src/**/'], reporter: ['text', 'json', 'html', 'text-summary'], reportsDirectory: './coverage/', },