Files
huskies/frontend/vitest.config.ts
T

22 lines
517 B
TypeScript
Raw Normal View History

import react from "@vitejs/plugin-react";
import { defineConfig } from "vitest/config";
export default defineConfig({
plugins: [react()],
define: {
__BUILD_TIME__: JSON.stringify("2026-01-01T00:00:00.000Z"),
},
test: {
environment: "jsdom",
globals: true,
setupFiles: ["./src/setupTests.ts"],
css: true,
exclude: ["tests/e2e/**", "node_modules/**"],
2026-02-19 14:45:57 +00:00
coverage: {
provider: "v8",
reporter: ["text", "json-summary"],
2026-02-19 14:45:57 +00:00
reportsDirectory: "./coverage",
},
},
});