Remove called assert extension

This commit is contained in:
Tim Schaub
2019-09-28 18:55:38 +02:00
parent 40f8510083
commit 3b02f5597e
8 changed files with 37 additions and 86 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ describe('ol.source.ImageWMS', function() {
const source = new ImageWMS(options);
const image = source.getImage(extent, resolution, pixelRatio, projection);
image.load();
expect(imageLoadFunction).to.be.called();
expect(imageLoadFunction.called).to.be(true);
expect(imageLoadFunction.calledWith(image, image.src_)).to.be(true);
});