test: raise Testing Library async timeout to 5 s
The frontend image build runs ~240 spec files on a loaded runner; a first render in apiary-colonies-card.spec missed the default 1 s findByRole window in CI run 711 while it passes locally. 5 s stays well below the 15 s test timeout, so real hangs still show. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
8188e4cab3
commit
6c390efe7b
1 file changed
+6
@@ -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 });
|
||||
Reference in new issue
Block a user