fix issues in core

This commit is contained in:
2025-12-23 15:38:50 +01:00
parent df5c20c5cc
commit 120d3bb1a1
125 changed files with 1005 additions and 793 deletions

View File

@@ -149,7 +149,9 @@ describe('RequestProtestDefenseUseCase', () => {
expect(protestRepository.update).toHaveBeenCalledWith(updatedProtest);
expect(output.present).toHaveBeenCalledTimes(1);
const presented = output.present.mock.calls[0][0] as RequestProtestDefenseResult;
const presentedRaw = output.present.mock.calls[0]?.[0];
expect(presentedRaw).toBeDefined();
const presented = presentedRaw as RequestProtestDefenseResult;
expect(presented).toEqual({
leagueId: 'league-1',
protestId: 'protest-1',