Add placeholder test cases for SHUTTLE_IS_NEAR_NEXT_STOP event

This commit is contained in:
2025-11-19 11:51:58 -08:00
parent 2ff71b0dd1
commit fb01406a29

View File

@@ -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", () => { describe("SHUTTLE_WILL_ARRIVE_AT_STOP event", () => {
test("emits SHUTTLE_WILL_ARRIVE_AT_STOP event before shuttle arrives at a stop", async () => { test("emits SHUTTLE_WILL_ARRIVE_AT_STOP event before shuttle arrives at a stop", async () => {
const { stop1, sampleShuttleNotInRepository: shuttle } = await setupRouteAndOrderedStops(); const { stop1, sampleShuttleNotInRepository: shuttle } = await setupRouteAndOrderedStops();