Unregister postrender listener in tests
This commit is contained in:
@@ -27,7 +27,7 @@ describe('ol.interaction.DragZoom', function() {
|
||||
resolution: 1
|
||||
})
|
||||
});
|
||||
map.on('postrender', function() {
|
||||
map.once('postrender', function() {
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user