Files
ApiCore/ApiCore-Frontend/vitest.config.ts
T
Nick SzaunigandClaude Opus 5.5 326b3d9cdd
Backend Image / build-and-push (push) Successful in 23s
Frontend Image / build-and-push (push) Successful in 8m1s
test: raise vitest timeout to 15 s for loaded CI runners
A userEvent-heavy colony form spec took 5.1 s inside the Docker build
and hit the 5 s default.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-14 18:53:33 +02:00

21 lines
530 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import path from "node:path";
import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
test: {
environment: "jsdom",
setupFiles: ["./vitest.setup.ts"],
globals: true,
// userEvent-heavy form specs take 1–2 s locally and can pass 5 s on a
// loaded CI runner (Docker build); 15 s keeps real hangs visible.
testTimeout: 15_000,
},
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
});