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

@@ -52,7 +52,13 @@ describe('GetLeagueJoinRequestsUseCase', () => {
const input: GetLeagueJoinRequestsInput = { leagueId };
const joinRequests = [
{ id: 'req-1', leagueId, driverId: 'driver-1', requestedAt: new Date(), message: 'msg' },
{
id: 'req-1',
leagueId: { toString: () => leagueId },
driverId: { toString: () => 'driver-1' },
requestedAt: { toDate: () => new Date() },
message: 'msg',
},
];
const driver = Driver.create({