Update getArrivedStopIfExists and implement tests for it

This commit is contained in:
2025-11-10 15:45:38 -08:00
parent 584dd44aad
commit c946647483
2 changed files with 82 additions and 2 deletions

View File

@@ -449,8 +449,8 @@ export class RedisShuttleRepository extends EventEmitter implements ShuttleGette
if (stop != null && shuttleHasArrivedAtStop(shuttle, stop, delta)) {
return stop;
}
return undefined;
}
return undefined;
}
public async getShuttleLastStopArrival(shuttle: IShuttle): Promise<ShuttleStopArrival | undefined> {