From 767b53c2db8cff35bf53c37056431d4b27d394dc Mon Sep 17 00:00:00 2001 From: Darius Williams <dswilliams@contractor.usgs.gov> Date: Thu, 4 Aug 2022 15:19:03 -0500 Subject: [PATCH] lint --- .../vue-components/hydrograph-legend.test.js | 37 ++++++++----------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/assets/src/scripts/monitoring-location/components/hydrograph/vue-components/hydrograph-legend.test.js b/assets/src/scripts/monitoring-location/components/hydrograph/vue-components/hydrograph-legend.test.js index 6b982297a..0fcd94cd4 100644 --- a/assets/src/scripts/monitoring-location/components/hydrograph/vue-components/hydrograph-legend.test.js +++ b/assets/src/scripts/monitoring-location/components/hydrograph/vue-components/hydrograph-legend.test.js @@ -3,8 +3,6 @@ import {mount} from '@vue/test-utils'; import config from 'ui/config'; import * as utils from 'ui/utils'; -import {configureStore} from 'ml/store'; - import {TEST_PRIMARY_IV_DATA, TEST_GW_LEVELS} from '../mock-hydrograph-state'; import HydrographLegend from './hydrograph-legend.vue'; @@ -112,24 +110,21 @@ describe('monitoring-location/components/hydrograph/legend module', () => { utils.mediaQuery = jest.fn().mockReturnValue(true); describe('HydrographLegend', () => { - let store; let wrapper; beforeEach(() => { - store = configureStore(TEST_STATE); - wrapper = mount(HydrographLegend, { props: { legendMarkerRows: getLegendMarkerRows(TEST_STATE), layout: { - "width": 992, - "height": 496, - "windowWidth": 1041, - "margin": { - "bottom": 5, - "top": 25, - "left": 55, - "right": 25 + 'width': 992, + 'height': 496, + 'windowWidth': 1041, + 'margin': { + 'bottom': 5, + 'top': 25, + 'left': 55, + 'right': 25 } } } @@ -145,14 +140,14 @@ describe('monitoring-location/components/hydrograph/legend module', () => { props: { legendMarkerRows: getDVLegendMarkerRows(DV_TEST_STATE), layout: { - "width": 992, - "height": 496, - "windowWidth": 1041, - "margin": { - "bottom": 5, - "top": 25, - "left": 55, - "right": 25 + 'width': 992, + 'height': 496, + 'windowWidth': 1041, + 'margin': { + 'bottom': 5, + 'top': 25, + 'left': 55, + 'right': 25 } } } -- GitLab