Merge pull request #10063 from tschaub/does-not-throw

Use the same spelling used elsewhere
This commit is contained in:
Tim Schaub
2019-09-29 14:38:48 -05:00
committed by GitHub
2 changed files with 1 additions and 2 deletions

View File

@@ -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(

View File

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