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 });