1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

increase geolocation timeout options to more realistic values (#8439)

Signed-off-by: Kerry Archibald <kerrya@element.io>
This commit is contained in:
Kerry
2022-04-28 16:51:47 +02:00
committed by GitHub
parent 6120adaedd
commit c4e988f406
2 changed files with 4 additions and 4 deletions

View File

@ -163,8 +163,8 @@ describe('geolocation utilities', () => {
const [, , options] = geolocation.watchPosition.mock.calls[0];
expect(options).toEqual({
maximumAge: 2000,
timeout: 5000,
maximumAge: 60000,
timeout: 10000,
});
});