2026-03-22 23:33:24 -05:00
|
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
plugins: [react()],
|
|
|
|
|
server: {
|
2026-03-23 00:16:50 -05:00
|
|
|
port: 5173,
|
|
|
|
|
proxy: {
|
|
|
|
|
"/api": "http://localhost:3000",
|
|
|
|
|
"/healthz": "http://localhost:3000"
|
|
|
|
|
}
|
2026-03-22 23:33:24 -05:00
|
|
|
},
|
|
|
|
|
test: {
|
|
|
|
|
environment: "jsdom",
|
|
|
|
|
globals: true,
|
|
|
|
|
setupFiles: "./src/vitest.setup.ts"
|
|
|
|
|
}
|
|
|
|
|
});
|