mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-19 00:54:45 +00:00
test: ordinalize ledger replay chunks
This commit is contained in:
@@ -184,11 +184,11 @@ describe("ACP translator event ledger replay", () => {
|
||||
"session_info_update",
|
||||
"available_commands_update",
|
||||
]);
|
||||
expect(replayedUpdates).toContainEqual({
|
||||
expect(replayedUpdates[2]).toEqual({
|
||||
sessionUpdate: "user_message_chunk",
|
||||
content: { type: "text", text: "Question" },
|
||||
});
|
||||
expect(replayedUpdates).toContainEqual({
|
||||
expect(replayedUpdates[5]).toEqual({
|
||||
sessionUpdate: "agent_message_chunk",
|
||||
content: { type: "text", text: "Answer" },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user