mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
add test cases for system resolvers
This commit is contained in:
63
test/resolvers/SystemResolverTests.test.ts
Normal file
63
test/resolvers/SystemResolverTests.test.ts
Normal 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 () => {
|
||||||
|
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user