summaryrefslogtreecommitdiff
path: root/spec/javascripts
diff options
context:
space:
mode:
authorSimon Knox <psimyn@gmail.com>2019-05-28 15:38:15 +1000
committerSimon Knox <psimyn@gmail.com>2019-05-29 20:22:49 +1000
commit495f11e7d5bfb4b2c32a425d80fe9cb6485af18d (patch)
tree8a4ae682a4d23d4946f8e5511f7c4d0b94b82bdf /spec/javascripts
parent029d68d3955d8f26058fb9cde1d4591620c75410 (diff)
downloadgitlab-ce-495f11e7d5bfb4b2c32a425d80fe9cb6485af18d.tar.gz
Fix warning in spec from committing unused mutationce-fix-vue-spec-warning
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/monitoring/dashboard_spec.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/javascripts/monitoring/dashboard_spec.js b/spec/javascripts/monitoring/dashboard_spec.js
index 58bcd916739..6e16ab64be2 100644
--- a/spec/javascripts/monitoring/dashboard_spec.js
+++ b/spec/javascripts/monitoring/dashboard_spec.js
@@ -176,10 +176,6 @@ describe('Dashboard', () => {
store,
});
- component.$store.commit(
- `monitoringDashboard/${types.SET_ENVIRONMENTS_ENDPOINT}`,
- '/environments',
- );
component.$store.commit(`monitoringDashboard/${types.RECEIVE_ENVIRONMENTS_DATA_SUCCESS}`, []);
component.$store.commit(
`monitoringDashboard/${types.RECEIVE_METRICS_DATA_SUCCESS}`,
@@ -211,10 +207,6 @@ describe('Dashboard', () => {
});
component.$store.commit(
- `monitoringDashboard/${types.SET_ENVIRONMENTS_ENDPOINT}`,
- '/environments',
- );
- component.$store.commit(
`monitoringDashboard/${types.RECEIVE_ENVIRONMENTS_DATA_SUCCESS}`,
environmentData,
);