Merge pull request #10050 from tschaub/expect-fail

Use expect().fail() instead of expect.fail()
This commit is contained in:
Tim Schaub
2019-09-28 08:15:42 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ describe('ol.Feature', function() {
expect(feature.getGeometry()).to.be(point2); expect(feature.getGeometry()).to.be(point2);
feature.on('change', function() { feature.on('change', function() {
expect.fail(); expect().fail();
}); });
point.setCoordinates([0, 2]); point.setCoordinates([0, 2]);
}); });
+1 -1
View File
@@ -67,7 +67,7 @@ describe('ol.net', function() {
}; };
}; };
function callback() { function callback() {
expect.fail(); expect().fail();
} }
function errback() { function errback() {
expect(window[key]).to.be(undefined); expect(window[key]).to.be(undefined);