add getStopById test for getEtasForStopId

This commit is contained in:
2025-01-08 17:26:05 -08:00
parent 365031384c
commit f865544e49
2 changed files with 15 additions and 1 deletions

View File

@@ -144,6 +144,8 @@ export class ApiBasedRepository implements GetterRepository {
}
this.cache.etasForStopId[stop.id] = [];
// This is technically incorrect, the entire shuttle cache
// should not be reset like this
// TODO: restore normal cache behavior
this.cache.etasForShuttleId = {};