fix issues in adapters
This commit is contained in:
@@ -17,14 +17,14 @@ describe('InMemoryLeagueStandingsRepository', () => {
|
||||
repository = new InMemoryLeagueStandingsRepository(mockLogger);
|
||||
});
|
||||
|
||||
const createTestStanding = (id: string, leagueId: string, driverId: string, position: number, points: number): RawStanding => ({
|
||||
id,
|
||||
leagueId,
|
||||
const createTestStanding = (_id: string, _leagueId: string, driverId: string, position: number, points: number): RawStanding => ({
|
||||
driverId,
|
||||
position,
|
||||
points,
|
||||
wins: 0,
|
||||
racesCompleted: 0,
|
||||
races: 0,
|
||||
poles: 0,
|
||||
podiums: 0,
|
||||
});
|
||||
|
||||
describe('constructor', () => {
|
||||
|
||||
Reference in New Issue
Block a user