diff --git a/test/spec/ol/interaction/draw.test.js b/test/spec/ol/interaction/draw.test.js index 8cce06f919..8c6f89b900 100644 --- a/test/spec/ol/interaction/draw.test.js +++ b/test/spec/ol/interaction/draw.test.js @@ -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( diff --git a/test/spec/ol/interaction/modify.test.js b/test/spec/ol/interaction/modify.test.js index 518ef187fc..ed51f51ec5 100644 --- a/test/spec/ol/interaction/modify.test.js +++ b/test/spec/ol/interaction/modify.test.js @@ -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(); }); });