You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: test/unit/ui/camera.test.js
+3-3
Original file line number
Diff line number
Diff line change
@@ -1153,16 +1153,16 @@ test('camera', (t) => {
1153
1153
1154
1154
camera.fitBounds(bb,{padding: 15,duration:0});
1155
1155
t.deepEqual(fixedLngLat(camera.getCenter()),{lng: -100.5,lat: 34.717077774},'pans to coordinates based on fitBounds with padding option as number applied');
t.deepEqual(fixedLngLat(camera.getCenter()),{lng: -82.921875,lat: 22.403743206},'pans to coordinates based on fitBounds with padding option as object applied');
t.deepEqual(fixedLngLat(camera.getCenter()),{lng: -91.522099448,lat: 28.608945184},'pans to coordinates based on fitBounds with padding option as object applied');
0 commit comments