diff --git a/test/repositories/ApiBasedRepositoryTests.ts b/test/repositories/ApiBasedRepositoryTests.ts index 4ddabb0..4a85052 100644 --- a/test/repositories/ApiBasedRepositoryTests.ts +++ b/test/repositories/ApiBasedRepositoryTests.ts @@ -33,8 +33,38 @@ describe("getEtaForShuttleAndStopId", () => { test("getEtaForShuttleAndStopId returns null if API call is invalid", async () => { }); + + test("getEtasForShuttleAndStopId returns old data if not expired", async () => { + + }); }); describe("getEtasForShuttleId", () => { + test("getEtasForShuttleId returns correct ETA data", async () => { + + }); + + test("getEtasForShuttleId returns empty array if no data available", async () => { + + }); + + test("getEtasForShuttleId returns old data if not expired", async () => { + + }); +}); + +describe("getEtasForStopId", () => { + test("getEtasForStopId returns correct ETA data", async () => { + + }); + + test("getEtasForStopId returns empty array if no data available", async () => { + + }); + + test("getEtasForStopId returns old data if not expired", async () => { + + }); +}); + -})