update test helpers to consolidate ServerContext creation into one method

This commit is contained in:
2025-02-04 10:56:00 -08:00
parent 814f2c6584
commit b918bf7a67
9 changed files with 63 additions and 41 deletions

View File

@@ -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 () => {