diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-12 12:08:48 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-12 12:08:48 +0300 |
commit | 7f5e08060f261a63ebf5058a95419da66928173a (patch) | |
tree | b2f77e0445bb28e4eaf156b3d3b71bd46dac8951 /spec/frontend/search/topbar/components/app_spec.js | |
parent | 22864cafe7a3509342c3c880881ade40ce06f752 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/search/topbar/components/app_spec.js')
-rw-r--r-- | spec/frontend/search/topbar/components/app_spec.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/frontend/search/topbar/components/app_spec.js b/spec/frontend/search/topbar/components/app_spec.js index ff37c733fdb..faf3629b444 100644 --- a/spec/frontend/search/topbar/components/app_spec.js +++ b/spec/frontend/search/topbar/components/app_spec.js @@ -5,7 +5,6 @@ import { MOCK_QUERY } from 'jest/search/mock_data'; import GlobalSearchTopbar from '~/search/topbar/components/app.vue'; import GroupFilter from '~/search/topbar/components/group_filter.vue'; import ProjectFilter from '~/search/topbar/components/project_filter.vue'; -import ScopeTabs from '~/search/topbar/components/scope_tabs.vue'; const localVue = createLocalVue(); localVue.use(Vuex); @@ -43,7 +42,6 @@ describe('GlobalSearchTopbar', () => { const findGroupFilter = () => wrapper.find(GroupFilter); const findProjectFilter = () => wrapper.find(ProjectFilter); const findSearchButton = () => wrapper.find(GlButton); - const findScopeTabs = () => wrapper.find(ScopeTabs); describe('template', () => { beforeEach(() => { @@ -54,18 +52,6 @@ describe('GlobalSearchTopbar', () => { expect(findTopbarForm().exists()).toBe(true); }); - describe('Scope Tabs', () => { - it('renders when search param is set', () => { - createComponent({ query: { search: 'test' } }); - expect(findScopeTabs().exists()).toBe(true); - }); - it('does not render search param is blank', () => { - createComponent({ query: {} }); - - expect(findScopeTabs().exists()).toBe(false); - }); - }); - describe('Search box', () => { it('renders always', () => { expect(findGlSearchBox().exists()).toBe(true); |