Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

lint fixes

Mike McGann5b0036d90b29
diff --git a/e2e/features/image-download/resolutions3413-test.js b/e2e/features/image-download/resolutions3413-test.js
index 3157cb03a..3abdb1912 100644
--- a/e2e/features/image-download/resolutions3413-test.js
+++ b/e2e/features/image-download/resolutions3413-test.js
@@ -64,7 +64,7 @@ module.exports = {
'Last zoom level is 250m': function(c) {
// mash the zoom button a bunch of times and see if it changes
- for (i = 0; i < 5; i++) {
+ for (let i = 0; i < 5; i++) {
zoomIn(c, 'arctic');
}
openImageDownloadPanel(c);
diff --git a/e2e/features/image-download/resolutions4326-test.js b/e2e/features/image-download/resolutions4326-test.js
index f95cd35f7..8f2be36b2 100644
--- a/e2e/features/image-download/resolutions4326-test.js
+++ b/e2e/features/image-download/resolutions4326-test.js
@@ -101,7 +101,7 @@ module.exports = {
'Last zoom level is 30m': function(c) {
// mash the zoom button a bunch of times and see if it changes
- for (i = 0; i < 5; i++) {
+ for (let i = 0; i < 5; i++) {
zoomIn(c, 'geographic');
}
openImageDownloadPanel(c);
diff --git a/e2e/reuseables/zoom.js b/e2e/reuseables/zoom.js
index 85b1b6b9e..2f6eb0526 100644
--- a/e2e/reuseables/zoom.js
+++ b/e2e/reuseables/zoom.js
@@ -1,10 +1,6 @@
-const TIME_LIMIT = 10000;
-
module.exports = {
-
zoomIn: function(c, proj) {
c.click(`#wv-map [data-proj='${proj}'] div.wv-map-zoom-in`);
c.pause(100);
}
-
};
diff --git a/web/js/image/util.js b/web/js/image/util.js
index bf6b93fe7..e3fdfeff0 100644
--- a/web/js/image/util.js
+++ b/web/js/image/util.js
@@ -1,4 +1,3 @@
-import lodashIsUndefined from 'lodash/isUndefined';
import lodashEach from 'lodash/each';
const GEO_ESTIMATION_CONSTANT = 256.0;