Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Added 'activeString: 'active' to buildMockState

Jason Hurley4a59e1943529
diff --git a/web/js/containers/animation-widget/animation-widget.test.js b/web/js/containers/animation-widget/animation-widget.test.js
index b9161cfcb..848fc7f48 100644
--- a/web/js/containers/animation-widget/animation-widget.test.js
+++ b/web/js/containers/animation-widget/animation-widget.test.js
@@ -601,7 +601,7 @@ describe('props forwarded to child widgets', () => {
describe('mapStateToProps', () => {
const buildMockState = (overrides = {}) => ({
- compare: { active: false, ...(overrides.compare || {}) },
+ compare: { active: false, activeString: 'active', ...(overrides.compare || {}) },
animation: {
startDate: new Date('2021-01-01'),
endDate: new Date('2021-03-01'),