attach the context correctly in system resolver tests

This commit is contained in:
2025-04-07 12:18:26 -07:00
parent d950156161
commit 2ba64a9b0d

View File

@@ -27,9 +27,7 @@ describe("SystemResolvers", () => {
systemId: mockSystem.id, systemId: mockSystem.id,
}, },
}, { }, {
contextValue: { contextValue: context,
shuttleRepository: context.systems[0].shuttleRepository,
},
}); });
} }
@@ -109,9 +107,7 @@ describe("SystemResolvers", () => {
stopId: stopId, stopId: stopId,
}, },
}, { }, {
contextValue: { contextValue: context,
shuttleRepository: context.systems[0].shuttleRepository,
}
}); });
} }