From 447c1209f1b5f9949c630e1adb056d610f628dc3 Mon Sep 17 00:00:00 2001
From: Andrew Yan <ayan@usgs.gov>
Date: Thu, 15 Feb 2018 13:38:55 -0600
Subject: [PATCH] fix hydrograph index tests

---
 assets/src/scripts/components/hydrograph/index.spec.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/assets/src/scripts/components/hydrograph/index.spec.js b/assets/src/scripts/components/hydrograph/index.spec.js
index 630319e9e..bf6f3791a 100644
--- a/assets/src/scripts/components/hydrograph/index.spec.js
+++ b/assets/src/scripts/components/hydrograph/index.spec.js
@@ -170,7 +170,7 @@ describe('Hydrograph charting module', () => {
         });
 
         it('should have a legend with two markers', () => {
-           expect(selectAll('g.legend-marker').size()).toBe(2);
+           expect(selectAll('g.legend-marker').size()).toBe(4);
         });
 
         it('show the labels for the median stat data showMedianStatsLabel is true', () => {
@@ -225,7 +225,7 @@ describe('Hydrograph charting module', () => {
         });
 
         it('Should have three legend markers', () => {
-            expect(selectAll('g.legend-marker').size()).toBe(3);
+            expect(selectAll('g.legend-marker').size()).toBe(5);
         });
 
         it('Should remove one of the lines when removing the compare time series', () => {
@@ -235,7 +235,7 @@ describe('Hydrograph charting module', () => {
 
         it('Should have two legend markers after the compare time series is removed', () => {
             store.dispatch(Actions.toggleTimeseries('compare', false));
-            expect(selectAll('g.legend-marker').size()).toBe(2);
+            expect(selectAll('g.legend-marker').size()).toBe(3);
         });
 
         //TODO: Consider adding a test which checks that the y axis is rescaled by
-- 
GitLab