mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 01:35:18 -04:00
GroupsService: Remove test obsoleted by strict mode
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
0c89d8715e
commit
30712abe31
1 changed files with 0 additions and 8 deletions
|
@ -69,13 +69,5 @@ describe('GroupsService', () => {
|
||||||
expect(groupDto.name).toEqual(group.name);
|
expect(groupDto.name).toEqual(group.name);
|
||||||
expect(groupDto.special).toBeFalsy();
|
expect(groupDto.special).toBeFalsy();
|
||||||
});
|
});
|
||||||
it('fails with null parameter', () => {
|
|
||||||
const groupDto = service.toGroupDto(null);
|
|
||||||
expect(groupDto).toBeNull();
|
|
||||||
});
|
|
||||||
it('fails with undefined parameter', () => {
|
|
||||||
const groupDto = service.toGroupDto(undefined);
|
|
||||||
expect(groupDto).toBeNull();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue