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

@@ -40,8 +40,9 @@ describe('RemoveLeagueMemberUseCase', () => {
expect(result.isOk()).toBe(true);
const removeResult = result.unwrap();
expect(removeResult.success).toBe(true);
expect(removeResult.message).toBeDefined();
expect(removeResult.leagueId).toBe(leagueId);
expect(removeResult.memberId).toBe(targetDriverId);
expect(removeResult.removedRole).toBe('member');
expect(leagueMembershipRepository.saveMembership).toHaveBeenCalledTimes(1);
const savedMembership = leagueMembershipRepository.saveMembership.mock.calls[0]?.[0];