mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
add test cases
This commit is contained in:
@@ -226,12 +226,16 @@ describe("UnoptimizedInMemoryRepository", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
describe("subscribeToEtaChanges", () => {
|
describe("subscribeToEtaChanges", () => {
|
||||||
test("notifies listener if the eta has changed")
|
test("notifies listeners if etas has changed", async () => {
|
||||||
|
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("unsubscribeFromEtaChanges", () => {
|
describe("unsubscribeFromEtaChanges", () => {
|
||||||
|
test("stops notifying listeners after etas have stopped changing", async () => {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
});
|
||||||
|
|
||||||
describe("getOrderedStopByRouteAndStopId", () => {
|
describe("getOrderedStopByRouteAndStopId", () => {
|
||||||
test("gets an ordered stop by route ID and stop ID", async () => {
|
test("gets an ordered stop by route ID and stop ID", async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user