fix(test): add required round_positions to hub driver fixtures from pre-#24 branches

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-12 12:39:45 -04:00
parent 79acf0579a
commit e0d7b9981e
3 changed files with 4 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ const drivers: ChampHubDriver[] = [
cumulative: [25, 43, 68, 100],
teammate_wins: 4,
teammate_losses: 1,
round_positions: [],
},
{
driver_number: 4,
@@ -89,6 +90,7 @@ const drivers: ChampHubDriver[] = [
cumulative: [18, 36, 54, 80],
teammate_wins: 3,
teammate_losses: 2,
round_positions: [],
},
]

View File

@@ -51,6 +51,7 @@ const driver = (over: Partial<ChampHubDriver>): ChampHubDriver => ({
cumulative: [25, 43, 68, 100],
teammate_wins: 4,
teammate_losses: 1,
round_positions: [],
...over,
})

View File

@@ -18,6 +18,7 @@ function driver(over: Partial<ChampHubDriver>): ChampHubDriver {
cumulative: [],
teammate_wins: 9,
teammate_losses: 1,
round_positions: [],
...over,
}
}