website refactor
This commit is contained in:
@@ -42,10 +42,10 @@ describe('GetLeagueProtestsUseCase', () => {
|
||||
leagueRepository = {
|
||||
findById: vi.fn(),
|
||||
};
|
||||
useCase = new GetLeagueProtestsUseCase(raceRepository as unknown as IRaceRepository,
|
||||
protestRepository as unknown as IProtestRepository,
|
||||
driverRepository as unknown as IDriverRepository,
|
||||
leagueRepository as unknown as ILeagueRepository);
|
||||
useCase = new GetLeagueProtestsUseCase(raceRepository as unknown as RaceRepository,
|
||||
protestRepository as unknown as ProtestRepository,
|
||||
driverRepository as unknown as DriverRepository,
|
||||
leagueRepository as unknown as LeagueRepository);
|
||||
});
|
||||
|
||||
it('should return protests with races and drivers', async () => {
|
||||
|
||||
Reference in New Issue
Block a user