diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-09 12:08:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-09 12:08:36 +0300 |
commit | a74ca2457e7c8a26ff5e12211d741b473c86c0b8 (patch) | |
tree | 94c510c39dc9646ffd0c3af676ada798af74a444 /spec/frontend/search | |
parent | 06af519348e7254062a7d03ef3e421356ff8c64a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/search')
9 files changed, 0 insertions, 38 deletions
diff --git a/spec/frontend/search/sidebar/components/filters_spec.js b/spec/frontend/search/sidebar/components/filters_spec.js index 7e564bfa005..3162f769abc 100644 --- a/spec/frontend/search/sidebar/components/filters_spec.js +++ b/spec/frontend/search/sidebar/components/filters_spec.js @@ -31,10 +31,6 @@ describe('GlobalSearchSidebarFilters', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findSidebarForm = () => wrapper.find('form'); const findStatusFilter = () => wrapper.findComponent(StatusFilter); const findConfidentialityFilter = () => wrapper.findComponent(ConfidentialityFilter); diff --git a/spec/frontend/search/sidebar/components/radio_filter_spec.js b/spec/frontend/search/sidebar/components/radio_filter_spec.js index 94d529348a9..c01311d72e1 100644 --- a/spec/frontend/search/sidebar/components/radio_filter_spec.js +++ b/spec/frontend/search/sidebar/components/radio_filter_spec.js @@ -38,11 +38,6 @@ describe('RadioFilter', () => { }); }; - afterEach(() => { - wrapper.destroy(); - wrapper = null; - }); - const findGlRadioButtonGroup = () => wrapper.findComponent(GlFormRadioGroup); const findGlRadioButtons = () => findGlRadioButtonGroup().findAllComponents(GlFormRadio); const findGlRadioButtonsText = () => findGlRadioButtons().wrappers.map((w) => w.text()); diff --git a/spec/frontend/search/sidebar/components/scope_navigation_spec.js b/spec/frontend/search/sidebar/components/scope_navigation_spec.js index 1018fae56e1..3b2d528e1d7 100644 --- a/spec/frontend/search/sidebar/components/scope_navigation_spec.js +++ b/spec/frontend/search/sidebar/components/scope_navigation_spec.js @@ -34,10 +34,6 @@ describe('ScopeNavigation', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findNavElement = () => wrapper.find('nav'); const findGlNav = () => wrapper.findComponent(GlNav); const findGlNavItems = () => wrapper.findAllComponents(GlNavItem); diff --git a/spec/frontend/search/sort/components/app_spec.js b/spec/frontend/search/sort/components/app_spec.js index a566b9b99d3..322ce1b16ef 100644 --- a/spec/frontend/search/sort/components/app_spec.js +++ b/spec/frontend/search/sort/components/app_spec.js @@ -38,11 +38,6 @@ describe('GlobalSearchSort', () => { }); }; - afterEach(() => { - wrapper.destroy(); - wrapper = null; - }); - const findSortButtonGroup = () => wrapper.findComponent(GlButtonGroup); const findSortDropdown = () => wrapper.findComponent(GlDropdown); const findSortDirectionButton = () => wrapper.findComponent(GlButton); diff --git a/spec/frontend/search/topbar/components/app_spec.js b/spec/frontend/search/topbar/components/app_spec.js index 3975887cfff..423ec6ff63b 100644 --- a/spec/frontend/search/topbar/components/app_spec.js +++ b/spec/frontend/search/topbar/components/app_spec.js @@ -36,10 +36,6 @@ describe('GlobalSearchTopbar', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findGlSearchBox = () => wrapper.findComponent(GlSearchBoxByClick); const findGroupFilter = () => wrapper.findComponent(GroupFilter); const findProjectFilter = () => wrapper.findComponent(ProjectFilter); diff --git a/spec/frontend/search/topbar/components/group_filter_spec.js b/spec/frontend/search/topbar/components/group_filter_spec.js index b2d0297fdc2..78d9efbd686 100644 --- a/spec/frontend/search/topbar/components/group_filter_spec.js +++ b/spec/frontend/search/topbar/components/group_filter_spec.js @@ -49,10 +49,6 @@ describe('GroupFilter', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findSearchableDropdown = () => wrapper.findComponent(SearchableDropdown); describe('template', () => { diff --git a/spec/frontend/search/topbar/components/project_filter_spec.js b/spec/frontend/search/topbar/components/project_filter_spec.js index 297a536e075..9eda34b1633 100644 --- a/spec/frontend/search/topbar/components/project_filter_spec.js +++ b/spec/frontend/search/topbar/components/project_filter_spec.js @@ -49,10 +49,6 @@ describe('ProjectFilter', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findSearchableDropdown = () => wrapper.findComponent(SearchableDropdown); describe('template', () => { diff --git a/spec/frontend/search/topbar/components/searchable_dropdown_item_spec.js b/spec/frontend/search/topbar/components/searchable_dropdown_item_spec.js index e51fe9a4cf9..c911fe53d40 100644 --- a/spec/frontend/search/topbar/components/searchable_dropdown_item_spec.js +++ b/spec/frontend/search/topbar/components/searchable_dropdown_item_spec.js @@ -24,10 +24,6 @@ describe('Global Search Searchable Dropdown Item', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findGlDropdownItem = () => wrapper.findComponent(GlDropdownItem); const findGlAvatar = () => wrapper.findComponent(GlAvatar); const findDropdownTitle = () => wrapper.findByTestId('item-title'); diff --git a/spec/frontend/search/topbar/components/searchable_dropdown_spec.js b/spec/frontend/search/topbar/components/searchable_dropdown_spec.js index de1cefa9e9d..2d5557b65f1 100644 --- a/spec/frontend/search/topbar/components/searchable_dropdown_spec.js +++ b/spec/frontend/search/topbar/components/searchable_dropdown_spec.js @@ -40,10 +40,6 @@ describe('Global Search Searchable Dropdown', () => { ); }; - afterEach(() => { - wrapper.destroy(); - }); - const findGlDropdown = () => wrapper.findComponent(GlDropdown); const findGlDropdownSearch = () => findGlDropdown().findComponent(GlSearchBoxByType); const findDropdownText = () => findGlDropdown().find('.dropdown-toggle-text'); |