mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
add test cases for system property of query object
This commit is contained in:
@@ -52,5 +52,19 @@ describe("QueryResolvers", () => {
|
|||||||
expect(response.body.singleResult.errors).toBeUndefined();
|
expect(response.body.singleResult.errors).toBeUndefined();
|
||||||
expect(response.body.singleResult.data?.systems).toHaveLength(systems.length);
|
expect(response.body.singleResult.data?.systems).toHaveLength(systems.length);
|
||||||
});
|
});
|
||||||
})
|
});
|
||||||
|
|
||||||
|
describe("system", () => {
|
||||||
|
it("returns a system for an ID from the repository", async () => {
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
it("returns null if no id provided", async () => {
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
it("returns null if there is no system", async () => {
|
||||||
|
|
||||||
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user