mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
add test cases
This commit is contained in:
22
test/resolvers/MutationResolverTests.test.ts
Normal file
22
test/resolvers/MutationResolverTests.test.ts
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
import { setupTestServerContext } from "../testHelpers/apolloTestServerHelpers";
|
||||||
|
import { describe, it } from "@jest/globals";
|
||||||
|
|
||||||
|
describe("MutationResolvers", () => {
|
||||||
|
const context = setupTestServerContext()
|
||||||
|
|
||||||
|
describe("scheduleNotification", () => {
|
||||||
|
it("adds a notification to the notification service", async () => {
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
it("ensures that notifications when the ETA changes", async () => {
|
||||||
|
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe("cancelNotification", () => {
|
||||||
|
it("removes the notification from the notification service", async () => {
|
||||||
|
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user