Unregister postrender listener in tests

This commit is contained in:
Tim Schaub
2015-11-01 09:03:23 -07:00
parent 67f42ed33a
commit d5c7f805ab
7 changed files with 9 additions and 9 deletions

View File

@@ -42,7 +42,7 @@ describe('ol.interaction.Modify', function() {
})
});
map.on('postrender', function() {
map.once('postrender', function() {
done();
});
});