fix core tests

This commit is contained in:
2025-12-23 20:09:02 +01:00
parent 7290fe69b5
commit b5431355ca
25 changed files with 415 additions and 211 deletions

View File

@@ -86,9 +86,9 @@ describe('SendPerformanceSummaryUseCase', () => {
const mockResults = [
{
driverId: 'driver-1',
position: 1,
incidents: 0,
driverId: { toString: () => 'driver-1' },
position: { toNumber: () => 1 },
incidents: { toNumber: () => 0 },
getPositionChange: vi.fn().mockReturnValue(2),
},
];