view models

This commit is contained in:
2025-12-20 00:31:31 +01:00
parent 5c74837d73
commit 656ec62426
74 changed files with 4511 additions and 347 deletions

View File

@@ -24,7 +24,7 @@ describe('LeagueStandingsViewModel', () => {
];
const viewModel = new LeagueStandingsViewModel(
{ standings },
{ standings, drivers: [], memberships: [] },
'driver-1'
);
@@ -46,7 +46,7 @@ describe('LeagueStandingsViewModel', () => {
];
const viewModel = new LeagueStandingsViewModel(
{ standings },
{ standings, drivers: [], memberships: [] },
'driver-1'
);
@@ -82,7 +82,7 @@ describe('LeagueStandingsViewModel', () => {
];
const viewModel = new LeagueStandingsViewModel(
{ standings },
{ standings, drivers: [], memberships: [] },
'driver-2'
);
@@ -111,7 +111,7 @@ describe('LeagueStandingsViewModel', () => {
];
const viewModel = new LeagueStandingsViewModel(
{ standings },
{ standings, drivers: [], memberships: [] },
'driver-2'
);
@@ -121,7 +121,7 @@ describe('LeagueStandingsViewModel', () => {
it('should handle empty standings', () => {
const viewModel = new LeagueStandingsViewModel(
{ standings: [] },
{ standings: [], drivers: [], memberships: [] },
'driver-1'
);
@@ -168,7 +168,7 @@ describe('LeagueStandingsViewModel', () => {
];
const viewModel = new LeagueStandingsViewModel(
{ standings },
{ standings, drivers: [], memberships: [] },
'driver-1',
previousStandings
);