diff --git a/test/spec/ol/feature.test.js b/test/spec/ol/feature.test.js index 16dee02871..4dce9d5d5e 100644 --- a/test/spec/ol/feature.test.js +++ b/test/spec/ol/feature.test.js @@ -208,7 +208,7 @@ describe('ol.Feature', function() { expect(feature.getGeometry()).to.be(point2); feature.on('change', function() { - expect.fail(); + expect().fail(); }); point.setCoordinates([0, 2]); }); diff --git a/test/spec/ol/net.test.js b/test/spec/ol/net.test.js index b67469c7dc..4220590b97 100644 --- a/test/spec/ol/net.test.js +++ b/test/spec/ol/net.test.js @@ -67,7 +67,7 @@ describe('ol.net', function() { }; }; function callback() { - expect.fail(); + expect().fail(); } function errback() { expect(window[key]).to.be(undefined);