Explorar o código

chore(test): ignore coverage and vitest artifacts

Add `coverage/`, `__screenshots__/`, and `.vitest-attachments/`
to `.gitignore`, and configure Vitest coverage exclusions in `vite.config.ts.`
satnaing hai 2 meses
pai
achega
b59ece4525
Modificáronse 2 ficheiros con 10 adicións e 0 borrados
  1. 7 0
      .gitignore
  2. 3 0
      vite.config.ts

+ 7 - 0
.gitignore

@@ -24,3 +24,10 @@ dist-ssr
 *.njsproj
 *.sln
 *.sw?
+
+# Test coverage
+/coverage
+
+# Vitest artifacts (browser screenshots/attachments)
+**/__screenshots__/
+.vitest-attachments/

+ 3 - 0
vite.config.ts

@@ -28,5 +28,8 @@ export default defineConfig({
       provider: playwright(),
       instances: [{ browser: 'chromium' }],
     },
+    coverage: {
+      exclude: ['src/components/ui/**', 'src/assets/**'],
+    },
   },
 })