diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-21 06:08:37 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-21 06:08:37 +0300 |
commit | 2399724614f3c4dcf3059038d997193830de93ee (patch) | |
tree | 3315c4453ef3efb5c1162911753436cad4f3e57d /spec/javascripts/monitoring | |
parent | 6755df108b123ecc8ae330d7c7bf2f04fbf36a81 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/javascripts/monitoring')
-rw-r--r-- | spec/javascripts/monitoring/components/dashboard_resize_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/javascripts/monitoring/components/dashboard_resize_spec.js b/spec/javascripts/monitoring/components/dashboard_resize_spec.js index 46a6679da18..b956f4c3265 100644 --- a/spec/javascripts/monitoring/components/dashboard_resize_spec.js +++ b/spec/javascripts/monitoring/components/dashboard_resize_spec.js @@ -6,7 +6,7 @@ import * as types from '~/monitoring/stores/mutation_types'; import { createStore } from '~/monitoring/stores'; import axios from '~/lib/utils/axios_utils'; import { - metricsGroupsAPIResponse, + metricsDashboardPayload, mockedEmptyResult, mockedQueryResultPayload, mockedQueryResultPayloadCoresTotal, @@ -41,7 +41,7 @@ function setupComponentStore(component) { // Load 2 panel groups component.$store.commit( `monitoringDashboard/${types.RECEIVE_METRICS_DATA_SUCCESS}`, - metricsGroupsAPIResponse, + metricsDashboardPayload, ); // Load 3 panels to the dashboard, one with an empty result @@ -98,7 +98,7 @@ describe('Dashboard', () => { let panelToggle; let chart; beforeEach(() => { - mock.onGet(mockApiEndpoint).reply(200, metricsGroupsAPIResponse); + mock.onGet(mockApiEndpoint).reply(200, metricsDashboardPayload); component = new DashboardComponent({ el: document.querySelector('.prometheus-graphs'), |