mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
add and use generator method for system objects
This commit is contained in:
10
test/generators.ts
Normal file
10
test/generators.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { ISystem } from "../src/entities/entities";
|
||||
|
||||
|
||||
export function generateMockSystems(): ISystem[] {
|
||||
return [
|
||||
{ id: "1", name: "System A" },
|
||||
{ id: "2", name: "System B" },
|
||||
{ id: "3", name: "System C" },
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user