diff --git a/__tests__/tests.ts b/__tests__/tests.ts index a63580a..05688c2 100644 --- a/__tests__/tests.ts +++ b/__tests__/tests.ts @@ -832,6 +832,11 @@ import * as Aclify from '../src'; const isAllowedAfterRemoveUser = await acl.isAllowed('dimitri', 'panel', 'edit'); expect(isAllowedAfterRemoveUser).toBeFalsy(); }); + + it('Remove a not existing user', async () => { + const removeUser = await acl.removeUser('notExisting'); + expect(removeUser).toBeUndefined(); + }); }); }); });