1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: lint

This commit is contained in:
Ivar Conradi Østhus 2022-03-02 23:53:46 +01:00
parent d514356030
commit d264f30fa0

View File

@ -678,8 +678,8 @@ test('should update role for user on project', async () => {
);
const { users } = await projectService.getUsersWithAccess(project.id, user);
const memberUsers = users.filter((user) => user.roleId === memberRole.id);
const ownerUsers = users.filter((user) => user.roleId === ownerRole.id);
const memberUsers = users.filter((u) => u.roleId === memberRole.id);
const ownerUsers = users.filter((u) => u.roleId === ownerRole.id);
expect(memberUsers).toHaveLength(0);
expect(ownerUsers).toHaveLength(2);