From 1e31678d06da5842fc19533741aaa6442b4552bc Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Sun, 23 Nov 2025 13:13:16 +0100 Subject: [PATCH] ci(coverage): include all files in coverage reports Add the 'all' option to the coverage configuration to ensure that all files are included in the coverage reports. This improves the accuracy of the coverage metrics by encompassing all relevant source files. --- vitest.config.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/vitest.config.ts b/vitest.config.ts index 3f24fbd..2e53f7e 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -15,12 +15,9 @@ export default defineConfig({ coverage: { provider: 'v8', reporter: ['text', 'json', 'html', 'lcov'], + all: true, include: [ - 'app/utils/**/*.{ts,js}', - 'app/components/**/*.vue', - 'app/composables/**/*.{ts,js}', - 'app/hooks/**/*.{ts,js}', - 'app/store/**/*.{ts,js}', + 'app/**/*.{ts,js,vue}', ], exclude: [ 'app/graphql/generated.ts', // GraphQL generated code