mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
fix faulty getEtasForShuttleId test
This commit is contained in:
@@ -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 () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user