Hopefully bust another flake (#33584)

I guess this sometimes takes more than a second (!?)
This commit is contained in:
David Baker
2026-05-22 16:00:57 +00:00
committed by GitHub
parent 7285293b7b
commit 5a1d7385f8
@@ -21,7 +21,7 @@ describe("<VerificationQRCode />", () => {
<VerificationQRCode qrCodeBytes={new Uint8ClampedArray(Buffer.from("asd"))} />, <VerificationQRCode qrCodeBytes={new Uint8ClampedArray(Buffer.from("asd"))} />,
); );
// wait for the spinner to go away // wait for the spinner to go away
await waitFor(() => getAllByAltText("QR Code").length === 1); await waitFor(() => getAllByAltText("QR Code").length === 1, { timeout: 2000 });
expect(container).toMatchSnapshot(); expect(container).toMatchSnapshot();
}); });
}); });