From 50078adc318c066453136da15b227e0b346dc602 Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Tue, 28 Jan 2025 20:40:58 -0800 Subject: [PATCH] add test cases for system resolvers --- test/resolvers/SystemResolverTests.test.ts | 63 ++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 test/resolvers/SystemResolverTests.test.ts diff --git a/test/resolvers/SystemResolverTests.test.ts b/test/resolvers/SystemResolverTests.test.ts new file mode 100644 index 0000000..794eda7 --- /dev/null +++ b/test/resolvers/SystemResolverTests.test.ts @@ -0,0 +1,63 @@ +import { describe, it } from "@jest/globals"; + +describe("SystemResolvers", () => { + describe("routes", () => { + it("gets routes associated with system id", async () => { + + }); + }); + + describe("stops", () => { + it("gets stops associated with system id", async () => { + + }); + }); + + describe("stop", () => { + it("gets the stop with the correct id", async () => { + + }); + + it("returns null if the stop isn't associated with the system", async () => { + + }); + + it("returns null if there is no stop", async () => { + + }); + }); + + describe("route", () => { + it("gets the route with the correct id", async () => { + + }); + + it("returns null if the stop isn't associated with the system", async () => { + + }); + + it("returns null if there is no route", async () => { + + }); + }); + + describe("shuttle", () => { + it("gets the shuttle with the correct id", async () => { + + }); + + it("returns null if the stop isn't associated with the system", async () => { + + }); + + it("returns null if there is no shuttle", async () => { + + }); + }); + + describe("shuttles", () => { + it("gets shuttles associated with system id", async () => { + + }); + }); +}); \ No newline at end of file