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 9d242ff commit 6809e16Copy full SHA for 6809e16
modules/react-mapbox/test/components/map.spec.jsx
@@ -93,7 +93,7 @@ test('Map#uncontrolled', t => {
93
if (!mapRef.current) return;
94
const center = mapRef.current.getCenter();
95
if (lastCenter) {
96
- t.ok(lastCenter.lng > center.lng && lastCenter.lat > center.lat, `animated to ${center}`);
+ t.ok(lastCenter.lng >= center.lng && lastCenter.lat >= center.lat, `animated to ${center}`);
97
}
98
lastCenter = center;
99
0 commit comments