From fb01406a29d781f9bfeb579dd8693971607d085c Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Wed, 19 Nov 2025 11:51:58 -0800 Subject: [PATCH] Add placeholder test cases for SHUTTLE_IS_NEAR_NEXT_STOP event --- .../ShuttleRepositorySharedTests.test.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/repositories/shuttle/__tests__/ShuttleRepositorySharedTests.test.ts b/src/repositories/shuttle/__tests__/ShuttleRepositorySharedTests.test.ts index e8e4aa2..96afb73 100644 --- a/src/repositories/shuttle/__tests__/ShuttleRepositorySharedTests.test.ts +++ b/src/repositories/shuttle/__tests__/ShuttleRepositorySharedTests.test.ts @@ -701,6 +701,24 @@ describe.each(repositoryImplementations)('$name', (holder) => { }); }); + describe("SHUTTLE_IS_NEAR_NEXT_STOP event", () => { + test("emits SHUTTLE_IS_NEAR_NEXT_STOP when shuttle is within a set proximity of the next stop", async () => { + throw new Error("Not implemented"); + }); + + test("does not emit event when shuttle is near a stop, but it's not the shuttle's next stop", async () => { + throw new Error("Not implemented"); + }); + + test("only emits the event once", async () => { + throw new Error("Not implemented"); + }); + + test("does not emit event when shuttle is not near a stop", async () => { + throw new Error("Not implemented"); + }); + }); + describe("SHUTTLE_WILL_ARRIVE_AT_STOP event", () => { test("emits SHUTTLE_WILL_ARRIVE_AT_STOP event before shuttle arrives at a stop", async () => { const { stop1, sampleShuttleNotInRepository: shuttle } = await setupRouteAndOrderedStops();