Stop asserting that zero duration animations take time

This commit is contained in:
Tim Schaub
2016-12-04 15:04:54 -07:00
parent f6a3ec513e
commit 12add87603

View File

@@ -379,7 +379,6 @@ describe('ol.View', function() {
zoom: 4,
duration: 0
});
expect(view.getAnimating()).to.eql(true);
setTimeout(function() {
expect(view.getCenter()).to.eql([0, 0]);