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'] }