45ed3587ba
- 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>
22 lines
509 B
TypeScript
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,
|
|
},
|
|
},
|
|
},
|
|
});
|