test: allow UI scenarios more time in CI #1
Frontend verify / verify (push) Successful in 4m54s
Frontend verify / verify (push) Successful in 4m54s
This commit is contained in:
+4
-1
@@ -1,10 +1,13 @@
|
||||
import "@testing-library/jest-dom/vitest";
|
||||
import { cleanup } from "@testing-library/react";
|
||||
import { cleanup, configure } from "@testing-library/react";
|
||||
import { afterAll, afterEach, beforeAll } from "vitest";
|
||||
import { configureAuthClient } from "@/shared/api";
|
||||
import "../shared/i18n";
|
||||
import { server } from "./server";
|
||||
|
||||
// Allow async UI updates on the slower CI runner; local waits stay unchanged.
|
||||
if (process.env.CI) configure({ asyncUtilTimeout: 5_000 });
|
||||
|
||||
beforeAll(() => server.listen({ onUnhandledRequest: "error" }));
|
||||
afterEach(() => {
|
||||
cleanup();
|
||||
|
||||
Reference in New Issue
Block a user