Fix flaky view animation test

This commit is contained in:
Maximilian Krög
2021-10-26 21:50:04 +02:00
parent dc8c9cfabb
commit 687cffb5d9

View File

@@ -808,7 +808,7 @@ describe('ol/View', function () {
expect(view.getAnimating()).to.be(true);
expect(view.getCenter()).to.eql(center);
expect(view.getResolution()).to.be(resolution);
expect(view.getRotation()).to.be(0);
expect(view.getRotation()).to.roughlyEqual(0, 0.02);
});
});