mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
add additional test cases for ETA data
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user