wip league admin tools
This commit is contained in:
@@ -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' };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user