From d2b25533c2dcc5180b773718726300ffff17a08a Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Sun, 29 Sep 2019 07:37:45 -0500 Subject: [PATCH 1/2] Use the same spelling used elsewhere --- test/spec/ol/interaction/modify.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }); }); From 7c8b2215d4f506c84f351b3c4a7d02da06a9f25a Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Sun, 29 Sep 2019 07:05:48 -0600 Subject: [PATCH 2/2] Remove unused code --- test/spec/ol/interaction/draw.test.js | 1 - 1 file changed, 1 deletion(-) 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(