diff --git a/test/spec/ol/format/gmlformat.test.js b/test/spec/ol/format/gmlformat.test.js index fbb8177285..40e1abae1d 100644 --- a/test/spec/ol/format/gmlformat.test.js +++ b/test/spec/ol/format/gmlformat.test.js @@ -10,13 +10,9 @@ var readGeometry = function(format, text, opt_options) { describe('ol.format.GML2', function() { - var format, formatWGS84, formatNoSrs; + var format; beforeEach(function() { format = new ol.format.GML2({srsName: 'CRS:84'}); - formatWGS84 = new ol.format.GML2({ - srsName: 'urn:x-ogc:def:crs:EPSG:4326' - }); - formatNoSrs = new ol.format.GML2(); }); describe('#readFeatures', function() { @@ -949,11 +945,10 @@ describe('ol.format.GML3', function() { }); describe('when parsing TOPP states WFS with autoconfigure', function() { - var features, text, gmlFormat; + var features, gmlFormat; before(function(done) { afterLoadText('spec/ol/format/gml/topp-states-wfs.xml', function(xml) { try { - text = xml; gmlFormat = new ol.format.GML(); features = gmlFormat.readFeatures(xml); } catch (e) { diff --git a/test/spec/ol/interaction/modifyinteraction.test.js b/test/spec/ol/interaction/modifyinteraction.test.js index 3ee6d8a4fe..e8cdc3b9c8 100644 --- a/test/spec/ol/interaction/modifyinteraction.test.js +++ b/test/spec/ol/interaction/modifyinteraction.test.js @@ -341,7 +341,7 @@ describe('ol.interaction.Modify', function() { map.addInteraction(modify); var feature = features[0]; - var listeners, listener; + var listeners; listeners = getListeners(feature, modify); expect(listeners).to.have.length(1); diff --git a/test/spec/ol/interaction/selectinteraction.test.js b/test/spec/ol/interaction/selectinteraction.test.js index c6f6fd6e87..4feac188ac 100644 --- a/test/spec/ol/interaction/selectinteraction.test.js +++ b/test/spec/ol/interaction/selectinteraction.test.js @@ -159,7 +159,6 @@ describe('ol.interaction.Select', function() { }); describe('filter features using the filter option', function() { - var select; describe('with multi set to true', function() {