diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-09 21:08:59 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-09 21:08:59 +0300 |
commit | cc6b6a7b78befba0fa003def271d446c51d67088 (patch) | |
tree | 63cf925f984ee20379b5c9057e4a3766e8221b36 /spec/frontend/vue_shared/components/listbox_input | |
parent | 0a353a9fa386ad60374daa9bad56f41bb5491c33 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/vue_shared/components/listbox_input')
-rw-r--r-- | spec/frontend/vue_shared/components/listbox_input/listbox_input_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/vue_shared/components/listbox_input/listbox_input_spec.js b/spec/frontend/vue_shared/components/listbox_input/listbox_input_spec.js index 7ed6a59c844..4e83f3e1c06 100644 --- a/spec/frontend/vue_shared/components/listbox_input/listbox_input_spec.js +++ b/spec/frontend/vue_shared/components/listbox_input/listbox_input_spec.js @@ -1,5 +1,5 @@ import { shallowMount } from '@vue/test-utils'; -import { GlFormGroup, GlListbox } from '@gitlab/ui'; +import { GlFormGroup, GlCollapsibleListbox } from '@gitlab/ui'; import ListboxInput from '~/vue_shared/components/listbox_input/listbox_input.vue'; describe('ListboxInput', () => { @@ -27,7 +27,7 @@ describe('ListboxInput', () => { // Finders const findGlFormGroup = () => wrapper.findComponent(GlFormGroup); - const findGlListbox = () => wrapper.findComponent(GlListbox); + const findGlListbox = () => wrapper.findComponent(GlCollapsibleListbox); const findInput = () => wrapper.find('input'); const createComponent = (propsData) => { @@ -153,7 +153,7 @@ describe('ListboxInput', () => { expect(findGlListbox().props('searchable')).toBe(true); }); - it('passes all items to GlListbox by default', () => { + it('passes all items to GlCollapsibleListbox by default', () => { createComponent(); expect(findGlListbox().props('items')).toStrictEqual(items); |