diff options
Diffstat (limited to 'spec/frontend/sidebar/components/labels/labels_select_widget/dropdown_header_spec.js')
-rw-r--r-- | spec/frontend/sidebar/components/labels/labels_select_widget/dropdown_header_spec.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/spec/frontend/sidebar/components/labels/labels_select_widget/dropdown_header_spec.js b/spec/frontend/sidebar/components/labels/labels_select_widget/dropdown_header_spec.js index d9001dface4..4861d2ca55e 100644 --- a/spec/frontend/sidebar/components/labels/labels_select_widget/dropdown_header_spec.js +++ b/spec/frontend/sidebar/components/labels/labels_select_widget/dropdown_header_spec.js @@ -28,10 +28,6 @@ describe('DropdownHeader', () => { ); }; - afterEach(() => { - wrapper.destroy(); - }); - const findSearchInput = () => wrapper.findComponent(GlSearchBoxByType); const findGoBackButton = () => wrapper.findByTestId('go-back-button'); const findDropdownTitle = () => wrapper.findByTestId('dropdown-header-title'); @@ -49,7 +45,7 @@ describe('DropdownHeader', () => { expect(findGoBackButton().exists()).toBe(true); }); - it('does not render search input field', async () => { + it('does not render search input field', () => { expect(findSearchInput().exists()).toBe(false); }); }); @@ -85,7 +81,7 @@ describe('DropdownHeader', () => { expect(findSearchInput().exists()).toBe(true); }); - it('does not render title', async () => { + it('does not render title', () => { expect(findDropdownTitle().exists()).toBe(false); }); }); |