add additional test cases for ETA data

This commit is contained in:
2025-01-07 14:34:48 -08:00
parent 440bdc9edd
commit 0f9ba4c3f0

View File

@@ -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 () => {
});
});
})