Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Iterate the fake engines without a copy

milind-soni353e72afb09a
diff --git a/server/engine-memory.test.ts b/server/engine-memory.test.ts
index c463f5bbe0..823a7061c8 100644
--- a/server/engine-memory.test.ts
+++ b/server/engine-memory.test.ts
@@ -228,7 +228,7 @@ describe("who goes first when memory holds several", () => {
};
const finish = async (h: ReturnType<typeof host>, threadId: string) => {
h.memory.turnEnded(threadId);
- for (const child of [...h.children.values()]) child.exit();
+ for (const child of h.children.values()) child.exit();
await settle();
};