Skip to content

Commit

Permalink
fix expected zoom value for initial bounds test mapbox#1970
Browse files Browse the repository at this point in the history
  • Loading branch information
stepankuzmin committed Oct 8, 2018
1 parent 670b6c1 commit cbb825d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/ui/map.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ test('Map', (t) => {
const map = createMap(t, {container, bounds});

t.deepEqual(fixedLngLat(map.getCenter(), 4), { lng: -100.5, lat: 34.7171 });
t.equal(fixedNum(map.getZoom(), 3), 2.469);
t.equal(fixedNum(map.getZoom(), 3), 2.113);

t.end();
});
Expand Down

0 comments on commit cbb825d

Please sign in to comment.