fix faulty getEtasForShuttleId test

This commit is contained in:
2025-01-08 17:20:29 -08:00
parent 91d020a7bc
commit c0e73d945a

View File

@@ -330,7 +330,7 @@ describe("getEtasForShuttleId", () => {
}); });
const result = await repository.getEtasForShuttleId("5577"); const result = await repository.getEtasForShuttleId("5577");
expect(result).toEqual(initialCache.etasForShuttleId); expect(result).toEqual(initialCache.etasForShuttleId?["5577"]);
}); });
test("getEtasForShuttleId returns empty array if no data available", async () => { test("getEtasForShuttleId returns empty array if no data available", async () => {