diff options
Diffstat (limited to 'spec/javascripts/monitoring/components/dashboard_resize_browser_spec.js')
-rw-r--r-- | spec/javascripts/monitoring/components/dashboard_resize_browser_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/javascripts/monitoring/components/dashboard_resize_browser_spec.js b/spec/javascripts/monitoring/components/dashboard_resize_browser_spec.js index 4416dbd014a..bbcdc0b879f 100644 --- a/spec/javascripts/monitoring/components/dashboard_resize_browser_spec.js +++ b/spec/javascripts/monitoring/components/dashboard_resize_browser_spec.js @@ -11,8 +11,8 @@ import MockAdapter from 'axios-mock-adapter'; import Dashboard from '~/monitoring/components/dashboard.vue'; import { createStore } from '~/monitoring/stores'; import axios from '~/lib/utils/axios_utils'; -import { mockApiEndpoint, propsData } from '../mock_data'; -import { metricsDashboardPayload } from '../fixture_data'; +import { mockApiEndpoint } from '../mock_data'; +import { metricsDashboardPayload, dashboardProps } from '../fixture_data'; import { setupStoreWithData } from '../store_utils'; const localVue = createLocalVue(); @@ -56,7 +56,7 @@ describe('Dashboard', () => { component = new DashboardComponent({ el: document.querySelector('.prometheus-graphs'), propsData: { - ...propsData, + ...dashboardProps, hasMetrics: true, showPanels: true, }, |