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