diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-28 09:10:32 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-28 09:10:32 +0300 |
commit | e9a3e8b891637a79ff6cc5bef9762272f312f04d (patch) | |
tree | e7aaf37eb269669268b9a21b9e9717ab5f9cdb9b /spec/frontend | |
parent | fda2beae9cedf425a55a052be273c5c0e16a254b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend')
-rw-r--r-- | spec/frontend/sidebar/components/assignees/assignee_title_spec.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/spec/frontend/sidebar/components/assignees/assignee_title_spec.js b/spec/frontend/sidebar/components/assignees/assignee_title_spec.js index d561c761c99..b2d15e76e80 100644 --- a/spec/frontend/sidebar/components/assignees/assignee_title_spec.js +++ b/spec/frontend/sidebar/components/assignees/assignee_title_spec.js @@ -37,27 +37,6 @@ describe('AssigneeTitle component', () => { }); }); - describe('gutter toggle', () => { - it('does not show toggle by default', () => { - wrapper = createComponent({ - numberOfAssignees: 2, - editable: false, - }); - - expect(wrapper.vm.$el.querySelector('.gutter-toggle')).toBeNull(); - }); - - it('shows toggle when showToggle is true', () => { - wrapper = createComponent({ - numberOfAssignees: 2, - editable: false, - showToggle: true, - }); - - expect(wrapper.vm.$el.querySelector('.gutter-toggle')).toEqual(expect.any(Object)); - }); - }); - describe('when changing is false', () => { it('renders "Edit"', () => { wrapper = createComponent({ editable: true }); |