1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-09 00:18:00 +01:00

fix: lint

This commit is contained in:
Youssef 2022-03-03 16:26:25 +01:00
parent d4521a1c0c
commit 49af49a9d4

View File

@ -715,8 +715,8 @@ test('should able to assign role without existing members', async () => {
);
const { users } = await projectService.getUsersWithAccess(project.id, user);
const memberUsers = users.filter((user) => user.roleId === memberRole.id);
const testUsers = users.filter((user) => user.roleId === testRole.id);
const memberUsers = users.filter((u) => u.roleId === memberRole.id);
const testUsers = users.filter((u) => u.roleId === testRole.id);
expect(memberUsers).toHaveLength(0);
expect(testUsers).toHaveLength(1);