mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
fix: lint
This commit is contained in:
parent
d514356030
commit
d264f30fa0
@ -678,8 +678,8 @@ test('should update role for user on project', async () => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
const { users } = await projectService.getUsersWithAccess(project.id, user);
|
const { users } = await projectService.getUsersWithAccess(project.id, user);
|
||||||
const memberUsers = users.filter((user) => user.roleId === memberRole.id);
|
const memberUsers = users.filter((u) => u.roleId === memberRole.id);
|
||||||
const ownerUsers = users.filter((user) => user.roleId === ownerRole.id);
|
const ownerUsers = users.filter((u) => u.roleId === ownerRole.id);
|
||||||
|
|
||||||
expect(memberUsers).toHaveLength(0);
|
expect(memberUsers).toHaveLength(0);
|
||||||
expect(ownerUsers).toHaveLength(2);
|
expect(ownerUsers).toHaveLength(2);
|
||||||
|
Loading…
Reference in New Issue
Block a user