add test cases for system resolvers

This commit is contained in:
2025-01-28 20:40:58 -08:00
parent 391884c91d
commit 50078adc31

View File

@@ -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 () => {
});
});
});