From c745af0f255310b003d188f6042cb0bbc19c65e8 Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Wed, 18 Jun 2025 01:08:30 -0700 Subject: [PATCH] [Test] Fix vitest scope overlaps playwright tests (#4218) --- vitest.config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vitest.config.ts b/vitest.config.ts index d07dda0ad..5eb76554e 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -7,7 +7,10 @@ export default defineConfig({ globals: true, environment: 'happy-dom', setupFiles: ['./vitest.setup.ts'], - include: ['**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'], + include: [ + 'tests-ui/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}', + 'src/components/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}' + ], coverage: { reporter: ['text', 'json', 'html'] }