Increase timeout on BeaconViewDialog (#33607)
standard 1s doesn't seem long enough to avoid flakes
This commit is contained in:
@@ -101,9 +101,12 @@ describe("<BeaconViewDialog />", () => {
|
|||||||
lat: 51,
|
lat: 51,
|
||||||
});
|
});
|
||||||
// marker added
|
// marker added
|
||||||
await waitFor(() => {
|
await waitFor(
|
||||||
expect(mockMarker.addTo).toHaveBeenCalledWith(mockMap);
|
() => {
|
||||||
});
|
expect(mockMarker.addTo).toHaveBeenCalledWith(mockMap);
|
||||||
|
},
|
||||||
|
{ timeout: 5000 },
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("does not render any own beacon status when user is not live sharing", () => {
|
it("does not render any own beacon status when user is not live sharing", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user