website refactor
This commit is contained in:
@@ -27,11 +27,11 @@ describe('GetAllLeaguesWithCapacityAndScoringUseCase', () => {
|
||||
|
||||
it('should return enriched leagues with capacity and scoring', async () => {
|
||||
const useCase = new GetAllLeaguesWithCapacityAndScoringUseCase(
|
||||
mockLeagueRepo as any,
|
||||
mockMembershipRepo as any,
|
||||
mockSeasonRepo as any,
|
||||
mockScoringConfigRepo as any,
|
||||
mockGameRepo as any,
|
||||
mockLeagueRepo as unknown as LeagueRepository,
|
||||
mockMembershipRepo as unknown as LeagueMembershipRepository,
|
||||
mockSeasonRepo as unknown as SeasonRepository,
|
||||
mockScoringConfigRepo as unknown as LeagueScoringConfigRepository,
|
||||
mockGameRepo as unknown as GameRepository,
|
||||
{ getPresetById: vi.fn().mockReturnValue({ id: 'preset1', name: 'Default' }) }
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user