Files
web/vitest.config.ts
T
groombook-engineer[bot] 45ed3587ba feat: extract groombook/web from monorepo
- Copy apps/web/ with all src, components, pages, portal
- Inline packages/types/ as local packages/types module
- Add tsconfig path aliases for @groombook/types
- Port Dockerfile and CI workflow
- Image name: ghcr.io/groombook/web

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-02 21:38:42 +00:00

22 lines
509 B
TypeScript

import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
test: {
environment: "jsdom",
setupFiles: ["./src/test/setup.ts"],
globals: true,
exclude: ["e2e/**", "**/node_modules/**", "**/types/__tests__/**"],
coverage: {
provider: "v8",
include: ["src/**"],
exclude: ["src/test/**", "src/main.tsx"],
thresholds: {
lines: 50,
functions: 50,
},
},
},
});