mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-22 14:17:14 +00:00
test: include transcript update ids
This commit is contained in:
@@ -42,15 +42,17 @@ describe("guardSessionManager transcript updates", () => {
|
||||
} as AgentMessage);
|
||||
|
||||
expect(updates).toStrictEqual([
|
||||
expect.objectContaining({
|
||||
{
|
||||
message: {
|
||||
content: [{ text: "hello from subagent", type: "text" }],
|
||||
role: "assistant",
|
||||
timestamp,
|
||||
},
|
||||
messageId: expect.any(String),
|
||||
sessionFile,
|
||||
sessionKey: "agent:main:worker",
|
||||
}),
|
||||
},
|
||||
]);
|
||||
expect(updates[0]?.messageId).not.toBe("");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user