diff options
Diffstat (limited to 'spec/frontend/sidebar/components/reviewers/uncollapsed_reviewer_list_spec.js')
-rw-r--r-- | spec/frontend/sidebar/components/reviewers/uncollapsed_reviewer_list_spec.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/spec/frontend/sidebar/components/reviewers/uncollapsed_reviewer_list_spec.js b/spec/frontend/sidebar/components/reviewers/uncollapsed_reviewer_list_spec.js index d0792fa7b73..8999f120a0f 100644 --- a/spec/frontend/sidebar/components/reviewers/uncollapsed_reviewer_list_spec.js +++ b/spec/frontend/sidebar/components/reviewers/uncollapsed_reviewer_list_spec.js @@ -42,9 +42,8 @@ describe('UncollapsedReviewerList component', () => { expect(wrapper.findAll(ReviewerAvatarLink).length).toBe(1); }); - it('shows one user with avatar, username and author name', () => { + it('shows one user with avatar, and author name', () => { expect(wrapper.text()).toContain(user.name); - expect(wrapper.text()).toContain(`@root`); }); it('renders re-request loading icon', async () => { @@ -84,11 +83,9 @@ describe('UncollapsedReviewerList component', () => { expect(wrapper.findAll(ReviewerAvatarLink).length).toBe(2); }); - it('shows both users with avatar, username and author name', () => { + it('shows both users with avatar, and author name', () => { expect(wrapper.text()).toContain(user.name); - expect(wrapper.text()).toContain(`@root`); expect(wrapper.text()).toContain(user2.name); - expect(wrapper.text()).toContain(`@hello-world`); }); it('renders approval icon', () => { |