mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
attach the context correctly in system resolver tests
This commit is contained in:
@@ -27,9 +27,7 @@ describe("SystemResolvers", () => {
|
||||
systemId: mockSystem.id,
|
||||
},
|
||||
}, {
|
||||
contextValue: {
|
||||
shuttleRepository: context.systems[0].shuttleRepository,
|
||||
},
|
||||
contextValue: context,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -109,9 +107,7 @@ describe("SystemResolvers", () => {
|
||||
stopId: stopId,
|
||||
},
|
||||
}, {
|
||||
contextValue: {
|
||||
shuttleRepository: context.systems[0].shuttleRepository,
|
||||
}
|
||||
contextValue: context,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user