Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Simplify AOI in unit tests (#6730)

Tom Cariello89d2ae32308c
diff --git a/web/js/components/sidebar/charting-mode-options.test.js b/web/js/components/sidebar/charting-mode-options.test.js
index 39aca49d7..864db1e17 100644
--- a/web/js/components/sidebar/charting-mode-options.test.js
+++ b/web/js/components/sidebar/charting-mode-options.test.js
@@ -140,7 +140,7 @@ function buildState(overrides = {}) {
proj: {
selected: {
crs: 'EPSG:4326',
- maxExtent: overrides.maxExtent === undefined ? [-180, -90, 180, 90] : overrides.maxExtent,
+ maxExtent: overrides.maxExtent === undefined,
},
},
config: { projections: { geographic: { crs: 'EPSG:4326' } } },