summaryrefslogtreecommitdiff
path: root/spec/frontend/tooltips/components/tooltips_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/tooltips/components/tooltips_spec.js')
-rw-r--r--spec/frontend/tooltips/components/tooltips_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/tooltips/components/tooltips_spec.js b/spec/frontend/tooltips/components/tooltips_spec.js
index eef352a72ff..998bb2a9ea2 100644
--- a/spec/frontend/tooltips/components/tooltips_spec.js
+++ b/spec/frontend/tooltips/components/tooltips_spec.js
@@ -28,7 +28,7 @@ describe('tooltips/components/tooltips.vue', () => {
return target;
};
- const allTooltips = () => wrapper.findAll(GlTooltip);
+ const allTooltips = () => wrapper.findAllComponents(GlTooltip);
afterEach(() => {
wrapper.destroy();
@@ -68,7 +68,7 @@ describe('tooltips/components/tooltips.vue', () => {
await nextTick();
- expect(wrapper.findAll(GlTooltip)).toHaveLength(1);
+ expect(wrapper.findAllComponents(GlTooltip)).toHaveLength(1);
});
it('sets tooltip content from title attribute', async () => {