Listen once when calling done

This commit is contained in:
Tim Schaub
2016-02-23 13:10:47 -07:00
parent 9da8cd890e
commit 24b7b27836

View File

@@ -112,7 +112,7 @@ maybeDescribe('ol.source.Raster', function() {
}
});
source.on('afteroperations', function() {
source.once('afteroperations', function() {
expect(log.length).to.equal(4);
var inputs = log[0];
var pixel = inputs[0];