Merge pull request #12930 from MoonE/view-animation-test

Fix flaky view animation test
This commit is contained in:
MoonE
2021-10-27 00:21:04 +02:00
committed by GitHub

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);
});
});