2025-12-18 21:48:41 +01:00
|
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
plugins: [react()],
|
|
|
|
|
test: {
|
|
|
|
|
environment: "jsdom",
|
|
|
|
|
include: ["app/**/*.test.{ts,tsx}"],
|
2025-12-21 22:00:47 +01:00
|
|
|
coverage: {
|
|
|
|
|
provider: "v8",
|
|
|
|
|
reporter: ["text", "html"],
|
|
|
|
|
exclude: ["app/generated/**", "**/*.test.{ts,tsx}", "e2e/**"],
|
|
|
|
|
},
|
2025-12-18 21:48:41 +01:00
|
|
|
},
|
|
|
|
|
});
|