We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdb2f36 commit 17b38b4Copy full SHA for 17b38b4
js/__tests__/Geolocation-test.ts
@@ -50,7 +50,7 @@ describe('react-native-geolocation', () => {
50
51
it('should add a success listener to the geolocation', () => {
52
const watchID = Geolocation.watchPosition(() => {});
53
- expect(watchID).toEqual(0);
+ expect(watchID).toEqual(1000);
54
expect(NativeModules.RNCGeolocation.addListener.mock.calls[0][0]).toBe(
55
'geolocationDidChange'
56
);
@@ -61,7 +61,7 @@ describe('react-native-geolocation', () => {
61
() => {},
62
() => {}
63
64
65
expect(NativeModules.RNCGeolocation.addListener.mock.calls[1][0]).toBe(
66
'geolocationError'
67
0 commit comments