Files
OpenMesh/surfaces/gui/vitest.config.ts

14 lines
453 B
TypeScript
Raw Permalink Normal View History

import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";
// Standalone test config (kept separate from vite.config.ts so the production `vite build` is
// untouched). Reused by later frontend phases — add new `*.test.tsx` files under src/.
export default defineConfig({
plugins: [react()],
test: {
environment: "jsdom",
include: ["src/**/*.test.{ts,tsx}"],
setupFiles: ["./src/test-setup.ts"],
},
});