diff --git a/ApiCore-Frontend/vitest.setup.ts b/ApiCore-Frontend/vitest.setup.ts index f149f27..50e18b3 100644 --- a/ApiCore-Frontend/vitest.setup.ts +++ b/ApiCore-Frontend/vitest.setup.ts @@ -1 +1,7 @@ import "@testing-library/jest-dom/vitest"; +import { configure } from "@testing-library/react"; + +// findBy*/waitFor default to 1 s. The image build runs ~240 spec files on a +// loaded runner, where a first render can take longer; 5 s keeps real hangs +// visible (testTimeout is 15 s) without flaky misses. +configure({ asyncUtilTimeout: 5_000 });