diff --git a/src/utils/beacon/geolocation.ts b/src/utils/beacon/geolocation.ts index b21fddad63..330651b520 100644 --- a/src/utils/beacon/geolocation.ts +++ b/src/utils/beacon/geolocation.ts @@ -32,8 +32,8 @@ export enum GeolocationError { } const GeolocationOptions = { - timeout: 5000, - maximumAge: 2000, + timeout: 10000, + maximumAge: 60000, }; const isGeolocationPositionError = (error: unknown): error is GeolocationPositionError => diff --git a/test/utils/beacon/geolocation-test.ts b/test/utils/beacon/geolocation-test.ts index 6d70183070..f28c374838 100644 --- a/test/utils/beacon/geolocation-test.ts +++ b/test/utils/beacon/geolocation-test.ts @@ -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, }); });