style: fix linting issues met Prettier
This commit is contained in:
parent
af8c783a26
commit
5168ceaee0
56 changed files with 680 additions and 741 deletions
|
@ -33,8 +33,7 @@ describe('AssignmentRepository', () => {
|
|||
|
||||
it('should find all by username of the responsible teacher', async () => {
|
||||
const result = await assignmentRepository.findAllByResponsibleTeacher('testleerkracht1');
|
||||
const resultIds = result.map((it) => it.id)
|
||||
.sort((a, b) => (a ?? 0) - (b ?? 0));
|
||||
const resultIds = result.map((it) => it.id).sort((a, b) => (a ?? 0) - (b ?? 0));
|
||||
|
||||
expect(resultIds).toEqual([1, 1, 3, 4]);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue