Skip to content

Commit 24b7b27

Browse files
committed
Listen once when calling done
1 parent 9da8cd8 commit 24b7b27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/spec/ol/source/rastersource.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ maybeDescribe('ol.source.Raster', function() {
112112
}
113113
});
114114

115-
source.on('afteroperations', function() {
115+
source.once('afteroperations', function() {
116116
expect(log.length).to.equal(4);
117117
var inputs = log[0];
118118
var pixel = inputs[0];

0 commit comments

Comments
 (0)