import { beforeEach, describe, it } from "@jest/globals"; import { ApolloServer } from "@apollo/server"; import { ServerContext } from "../../src/ServerContext"; import { UnoptimizedInMemoryRepository } from "../../src/repositories/UnoptimizedInMemoryRepository"; import { setUpTestServer } from "../testHelpers/apolloSetupHelpers"; describe("SystemResolvers", () => { let testServer: ApolloServer; let repository: UnoptimizedInMemoryRepository; beforeEach(async () => { testServer = setUpTestServer(); repository = new UnoptimizedInMemoryRepository(); }); 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 () => { }); }); });