From 28c975bd386dcf7eb08f4fca48aac1e8180efaec Mon Sep 17 00:00:00 2001 From: Matthias Goudjil Date: Tue, 23 Jan 2024 14:10:36 +0100 Subject: [PATCH] test: update vitest config (coverage) --- vitest.config.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/vitest.config.ts b/vitest.config.ts index 673712e6..d3e6228b 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -10,11 +10,15 @@ export default defineConfig({ environment: 'jsdom', coverage: { provider: 'v8', + all: false, + clean: true, thresholds: { - branches: 60, - functions: 60, - lines: 60, - statements: 60 + 'packages/component/**/src/*.{ts,vue}': { + branches: 60, + functions: 60, + lines: 60, + statements: 60 + } } } }