mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
define findSystemById method
This commit is contained in:
@@ -37,6 +37,7 @@ export function setupTestServerContext() {
|
|||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
context.systems = systems;
|
context.systems = systems;
|
||||||
|
context.findSystemById = async (_: string) => systems[0];
|
||||||
});
|
});
|
||||||
|
|
||||||
return context as ServerContext;
|
return context as ServerContext;
|
||||||
|
|||||||
Reference in New Issue
Block a user