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

View File

@@ -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]);
});

View File

@@ -67,7 +67,7 @@ describe('ol.net', function() {
};
};
function callback() {
expect.fail();
expect().fail();
}
function errback() {
expect(window[key]).to.be(undefined);