Merge pull request #10050 from tschaub/expect-fail

Use expect().fail() instead of expect.fail()
This commit is contained in:
Tim Schaub authored and GitHub committed 2019-09-28 08:15:42 +02:00
commit 80b4f51d6e
2 files changed
+2 -2

No files matched your search

+1 -1
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]);
});
+1 -1
View File
@@ -67,7 +67,7 @@ describe('ol.net', function() {
};
};
function callback() {
expect.fail();
expect().fail();
}
function errback() {
expect(window[key]).to.be(undefined);