Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

remove obsolete small size test

Mike McGannf9998401c28c
diff --git a/package.json b/package.json
index 99d448382..c33c2730c 100644
--- a/package.json
+++ b/package.json
@@ -203,6 +203,9 @@
},
"transformIgnorePatterns": [
"node_modules/(?!(ol)/)"
+ ],
+ "modulePathIgnorePatterns": [
+ "build/"
]
},
"prettier": {
diff --git a/web/js/components/map/__snapshots__/ol-coordinates.test.js.snap b/web/js/components/map/__snapshots__/ol-coordinates.test.js.snap
index 80abe5bd8..ee95968c1 100644
--- a/web/js/components/map/__snapshots__/ol-coordinates.test.js.snap
+++ b/web/js/components/map/__snapshots__/ol-coordinates.test.js.snap
@@ -2,8 +2,6 @@
exports[`clears coordinates when mouse moves off the map 1`] = `<div />`;
-exports[`does not display on small devices 1`] = `null`;
-
exports[`reprojects (0,0) to (-45, 90) for EPSG:3413 1`] = `
<div>
<div
diff --git a/web/js/components/map/ol-coordinates.test.js b/web/js/components/map/ol-coordinates.test.js
index 3f2536dbb..7a45189c1 100644
--- a/web/js/components/map/ol-coordinates.test.js
+++ b/web/js/components/map/ol-coordinates.test.js
@@ -20,7 +20,6 @@ beforeEach(() => {
afterEach(() => {
util.setCoordinateFormat('latlon-dd');
- util.browser.small = false;
});
test('shows coordinates of (10, 20) when moving the mouse', () => {
@@ -48,9 +47,3 @@ test('reprojects (0,0) to (-45, 90) for EPSG:3413', () => {
events.trigger('mousemove', {}, map, 'EPSG:3413');
expect(component.toJSON()).toMatchSnapshot();
});
-
-test('does not display on small devices', () => {
- util.browser.small = true;
- events.trigger('mousemove', {}, map, 'EPSG:3413');
- expect(component.toJSON()).toMatchSnapshot();
-});