diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-26 21:17:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-26 21:17:51 +0300 |
commit | 733f1d8bb11ad5e17f95e31be14f745d13114bfd (patch) | |
tree | 99fdd0981dc86bd253adbc3cfb6ddfd7cc4f9795 /spec/frontend/batch_comments | |
parent | 2004f56282a00ac54f9ebc546bc828a1450e29ed (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/batch_comments')
-rw-r--r-- | spec/frontend/batch_comments/components/draft_note_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/batch_comments/components/draft_note_spec.js b/spec/frontend/batch_comments/components/draft_note_spec.js index 145af3a2d5b..6a997ebaaa8 100644 --- a/spec/frontend/batch_comments/components/draft_note_spec.js +++ b/spec/frontend/batch_comments/components/draft_note_spec.js @@ -1,5 +1,5 @@ import { nextTick } from 'vue'; -import { GlButton } from '@gitlab/ui'; +import { GlButton, GlBadge } from '@gitlab/ui'; import { getByRole } from '@testing-library/dom'; import { shallowMount } from '@vue/test-utils'; import { stubComponent } from 'helpers/stub_component'; @@ -56,7 +56,7 @@ describe('Batch comments draft note component', () => { it('renders template', () => { createComponent(); - expect(wrapper.find('.draft-pending-label').exists()).toBe(true); + expect(wrapper.findComponent(GlBadge).exists()).toBe(true); const note = wrapper.find(NoteableNote); |