summaryrefslogtreecommitdiff
path: root/spec/javascripts/monitoring
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-03-12 00:18:15 +0100
committerWinnie Hellmann <winnie@gitlab.com>2019-03-12 00:18:15 +0100
commitec47bdb82c1d0bf8be357b36e1068a567313094b (patch)
treee3e09421068e2027e59f18615e4bee16e5380963 /spec/javascripts/monitoring
parentc5a5cae9d3b7c85808419fbacb9cd13ab0079f62 (diff)
downloadgitlab-ce-winh-karma-vue-extend.tar.gz
Diffstat (limited to 'spec/javascripts/monitoring')
-rw-r--r--spec/javascripts/monitoring/dashboard_spec.js2
-rw-r--r--spec/javascripts/monitoring/dashboard_state_spec.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/monitoring/dashboard_spec.js b/spec/javascripts/monitoring/dashboard_spec.js
index dbc87996d18..d3a201335ca 100644
--- a/spec/javascripts/monitoring/dashboard_spec.js
+++ b/spec/javascripts/monitoring/dashboard_spec.js
@@ -34,7 +34,7 @@ describe('Dashboard', () => {
`);
mock = new MockAdapter(axios);
- DashboardComponent = (Dashboard);
+ DashboardComponent = Dashboard;
});
afterEach(() => {
diff --git a/spec/javascripts/monitoring/dashboard_state_spec.js b/spec/javascripts/monitoring/dashboard_state_spec.js
index cb7edf5017a..8d912725dcf 100644
--- a/spec/javascripts/monitoring/dashboard_state_spec.js
+++ b/spec/javascripts/monitoring/dashboard_state_spec.js
@@ -3,7 +3,7 @@ import EmptyState from '~/monitoring/components/empty_state.vue';
import { statePaths } from './mock_data';
function createComponent(props) {
- const Component = (EmptyState);
+ const Component = EmptyState;
return new Component({
propsData: {