Merge pull request #10063 from tschaub/does-not-throw
Use the same spelling used elsewhere
This commit is contained in:
@@ -390,7 +390,6 @@ describe('ol.interaction.Draw', function() {
|
||||
simulateEvent('pointerup', 60, 70);
|
||||
|
||||
const features = source.getFeatures();
|
||||
// expect(features).to.have.length(1);
|
||||
const geometry = features[0].getGeometry();
|
||||
expect(geometry).to.be.a(LineString);
|
||||
expect(geometry.getCoordinates()).to.eql(
|
||||
|
||||
@@ -708,7 +708,7 @@ describe('ol.interaction.Modify', function() {
|
||||
collection.remove(features[0]);
|
||||
expect(function() {
|
||||
simulateEvent('pointerup', -10, -10, null, 0);
|
||||
}).to.not.throwError();
|
||||
}).to.not.throwException();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user