website refactor

This commit is contained in:
2026-01-16 15:20:25 +01:00
parent 7e02fc3ea5
commit 37b1aa626c
325 changed files with 2167 additions and 2782 deletions

View File

@@ -93,7 +93,7 @@ describe('SendPerformanceSummaryUseCase', () => {
const result = await useCase.execute(input);
expect(result.isOk()).toBe(true);
expect(result.unwrap()).toBeUndefined();
const presented = result.unwrap();
expect(leagueRepository.findById).toHaveBeenCalledWith('league-1');
expect(raceEventRepository.findById).toHaveBeenCalledWith('race-1');
@@ -109,8 +109,6 @@ describe('SendPerformanceSummaryUseCase', () => {
}),
);
const presentedRaw = expect(presentedRaw).toBeDefined();
const presented = presentedRaw as SendPerformanceSummaryResult;
expect(presented).toEqual({
leagueId: 'league-1',
raceId: 'race-1',