wip league admin tools

This commit is contained in:
2025-12-28 12:04:12 +01:00
parent 5dc8c2399c
commit 6edf12fda8
401 changed files with 15365 additions and 6047 deletions

View File

@@ -41,10 +41,10 @@ describe('GetAllLeaguesWithCapacityAndScoringUseCase', () => {
const league = { id: 'league1', name: 'Test League', settings: { maxDrivers: 30 } };
const members = [
{ status: 'active', role: 'member' },
{ status: 'active', role: 'owner' },
{ status: { toString: () => 'active' }, role: { toString: () => 'member' } },
{ status: { toString: () => 'active' }, role: { toString: () => 'owner' } },
];
const season = { id: 'season1', status: 'active', gameId: 'game1' };
const season = { id: 'season1', status: { isActive: () => true }, gameId: 'game1' };
const scoringConfig = { scoringPresetId: 'preset1' };
const game = { id: 'game1', name: 'iRacing' };