Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/sidebar/components/assignees/assignees_spec.js')
-rw-r--r--spec/frontend/sidebar/components/assignees/assignees_spec.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/frontend/sidebar/components/assignees/assignees_spec.js b/spec/frontend/sidebar/components/assignees/assignees_spec.js
index 1661e28abd2..65a07382ebc 100644
--- a/spec/frontend/sidebar/components/assignees/assignees_spec.js
+++ b/spec/frontend/sidebar/components/assignees/assignees_spec.js
@@ -181,7 +181,10 @@ describe('Assignee component', () => {
const userItems = findAllAvatarLinks();
expect(userItems).toHaveLength(3);
- expect(userItems.at(0).attributes('title')).toBe(users[2].name);
+ expect(userItems.at(0).attributes()).toMatchObject({
+ 'data-user-id': `${users[2].id}`,
+ 'data-username': users[2].username,
+ });
});
it('passes the sorted assignees to the collapsed-assignee-list', () => {