style: fix linting issues met Prettier

This commit is contained in:
Lint Action 2025-04-08 08:56:50 +00:00
parent ba725f67b2
commit 8a55c0f003
22 changed files with 137 additions and 157 deletions

View file

@ -32,10 +32,8 @@ describe('AssignmentRepository', () => {
});
it('should find all by username of the responsible teacher', async () => {
const result = await assignmentRepository.findAllByResponsibleTeacher("FooFighters")
const resultIds = result
.map(it => it.id)
.sort((a, b) => (a ?? 0) - (b ?? 0));
const result = await assignmentRepository.findAllByResponsibleTeacher('FooFighters');
const resultIds = result.map((it) => it.id).sort((a, b) => (a ?? 0) - (b ?? 0));
expect(resultIds).toEqual([1, 3, 4]);
});