add test cases and documentation for functions

This commit is contained in:
2025-02-02 13:04:03 -08:00
parent 345d4905fe
commit 5957010a7f
2 changed files with 26 additions and 2 deletions

View File

@@ -225,6 +225,14 @@ describe("UnoptimizedInMemoryRepository", () => {
});
});
describe("subscribeToEtaChanges", () => {
test("notifies listener if the eta has changed")
});
describe("unsubscribeFromEtaChanges", () => {
});
describe("getOrderedStopByRouteAndStopId", () => {
test("gets an ordered stop by route ID and stop ID", async () => {
const mockOrderedStops = generateMockOrderedStops();
@@ -711,4 +719,4 @@ describe("UnoptimizedInMemoryRepository", () => {
expect(result).toEqual([]);
});
});
});
});