Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/monitoring/components/graph_group_spec.js')
-rw-r--r--spec/frontend/monitoring/components/graph_group_spec.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/frontend/monitoring/components/graph_group_spec.js b/spec/frontend/monitoring/components/graph_group_spec.js
index 31f52f6627b..104263e73e0 100644
--- a/spec/frontend/monitoring/components/graph_group_spec.js
+++ b/spec/frontend/monitoring/components/graph_group_spec.js
@@ -6,10 +6,10 @@ import GraphGroup from '~/monitoring/components/graph_group.vue';
describe('Graph group component', () => {
let wrapper;
- const findGroup = () => wrapper.find({ ref: 'graph-group' });
- const findContent = () => wrapper.find({ ref: 'graph-group-content' });
- const findLoadingIcon = () => wrapper.find(GlLoadingIcon);
- const findCaretIcon = () => wrapper.find(GlIcon);
+ const findGroup = () => wrapper.findComponent({ ref: 'graph-group' });
+ const findContent = () => wrapper.findComponent({ ref: 'graph-group-content' });
+ const findLoadingIcon = () => wrapper.findComponent(GlLoadingIcon);
+ const findCaretIcon = () => wrapper.findComponent(GlIcon);
const findToggleButton = () => wrapper.find('[data-testid="group-toggle-button"]');
const createComponent = (propsData) => {