summaryrefslogtreecommitdiff
path: root/spec/frontend/sidebar/reviewers_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/sidebar/reviewers_spec.js')
-rw-r--r--spec/frontend/sidebar/reviewers_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/sidebar/reviewers_spec.js b/spec/frontend/sidebar/reviewers_spec.js
index 88bacc9b7f7..229f7ffbe04 100644
--- a/spec/frontend/sidebar/reviewers_spec.js
+++ b/spec/frontend/sidebar/reviewers_spec.js
@@ -43,7 +43,7 @@ describe('Reviewer component', () => {
it('displays no reviewer icon when collapsed', () => {
createWrapper();
const collapsedChildren = findCollapsedChildren();
- const userIcon = collapsedChildren.at(0).find(GlIcon);
+ const userIcon = collapsedChildren.at(0).findComponent(GlIcon);
expect(collapsedChildren.length).toBe(1);
expect(collapsedChildren.at(0).attributes('aria-label')).toBe('None');