mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
add test cases for endpoints
This commit is contained in:
@@ -308,4 +308,28 @@ describe("SystemResolvers", () => {
|
||||
expect(shuttles.length === expectedShuttles.length);
|
||||
});
|
||||
});
|
||||
|
||||
describe("parkingStructures", () => {
|
||||
it("gets parking structures associated with the system id", async () => {
|
||||
|
||||
});
|
||||
|
||||
it("returns a blank array if there are no parking structures", async () => {
|
||||
|
||||
});
|
||||
|
||||
it("returns null if there is no parking data available", async () => {
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe("parkingStructure", () => {
|
||||
it("returns the correct parking structure given the id", async () => {
|
||||
|
||||
});
|
||||
|
||||
it("returns null if there is no matching parking structure", async () => {
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user