Correct expected result to reflect #10054

Correct world extent constrained resolution test to expect integer zoom level
This commit is contained in:
mike-000
2019-09-29 12:19:42 +01:00
committed by GitHub
parent eaa5af2c7a
commit 733b883ac0

View File

@@ -454,7 +454,7 @@ describe('ol.View', function() {
maxResolution: maxResolution,
constrainResolution: true
});
expect(fn(defaultMaxRes, 0, size)).to.be(defaultMaxRes / 2);
expect(fn(defaultMaxRes, 0, size)).to.be(maxResolution / 4);
});
it('enabled, with constrainResolution', function() {