mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-19 17:00:30 +00:00
update test helpers to consolidate ServerContext creation into one method
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { setupTestServerContext } from "../testHelpers/apolloTestServerHelpers";
|
||||
import { describe, it } from "@jest/globals";
|
||||
import { setupTestServerHolder } from "../testHelpers/apolloTestServerHelpers";
|
||||
|
||||
describe("MutationResolvers", () => {
|
||||
const context = setupTestServerContext()
|
||||
const testServerHolder = setupTestServerHolder()
|
||||
|
||||
describe("scheduleNotification", () => {
|
||||
it("adds a notification to the notification service", async () => {
|
||||
|
||||
Reference in New Issue
Block a user