Hopefully bust another flake (#33584)
I guess this sometimes takes more than a second (!?)
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ describe("<VerificationQRCode />", () => {
|
||||
<VerificationQRCode qrCodeBytes={new Uint8ClampedArray(Buffer.from("asd"))} />,
|
||||
);
|
||||
// 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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user