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,
|
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,
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user