Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

update test

Ed Plato384e1dc4c578
diff --git a/web/js/containers/map-interactions/ol-vector-interactions.test.js b/web/js/containers/map-interactions/ol-vector-interactions.test.js
index 5236437e3..57f66c60f 100644
--- a/web/js/containers/map-interactions/ol-vector-interactions.test.js
+++ b/web/js/containers/map-interactions/ol-vector-interactions.test.js
@@ -32,12 +32,17 @@ beforeEach(() => {
onCloseModal={jest.fn()}
modalState={{ id: [], isOpen: false }}
isDistractionFreeModeActive={false}
+ isMobile={false}
+ proj={{ id: 'geographic' }}
+ activeLayers={[{ def: { type: 'vector' } }]}
/>,
);
map = {
getEventPixel: jest.fn(),
getCoordinateFromPixel: () => [0, 0],
hasFeatureAtPixel: () => false,
+ getView: jest.fn().mockReturnThis(),
+ getResolution: () => 0.0175,
};
});