diff options
Diffstat (limited to 'spec/frontend/vue_mr_widget/components/mr_widget_expandable_section_spec.js')
-rw-r--r-- | spec/frontend/vue_mr_widget/components/mr_widget_expandable_section_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/vue_mr_widget/components/mr_widget_expandable_section_spec.js b/spec/frontend/vue_mr_widget/components/mr_widget_expandable_section_spec.js index 69a50899d4d..3e111cd308a 100644 --- a/spec/frontend/vue_mr_widget/components/mr_widget_expandable_section_spec.js +++ b/spec/frontend/vue_mr_widget/components/mr_widget_expandable_section_spec.js @@ -18,7 +18,7 @@ describe('MrWidgetExpanableSection', () => { }); it('renders Icon', () => { - expect(wrapper.contains(GlIcon)).toBe(true); + expect(wrapper.find(GlIcon).exists()).toBe(true); }); it('renders header slot', () => { |