test: ordinalize ledger replay chunks · openclaw/openclaw@a263c4c
shakkernerd
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -184,11 +184,11 @@ describe("ACP translator event ledger replay", () => {
|
184 | 184 | "session_info_update", |
185 | 185 | "available_commands_update", |
186 | 186 | ]); |
187 | | -expect(replayedUpdates).toContainEqual({ |
| 187 | +expect(replayedUpdates[2]).toEqual({ |
188 | 188 | sessionUpdate: "user_message_chunk", |
189 | 189 | content: { type: "text", text: "Question" }, |
190 | 190 | }); |
191 | | -expect(replayedUpdates).toContainEqual({ |
| 191 | +expect(replayedUpdates[5]).toEqual({ |
192 | 192 | sessionUpdate: "agent_message_chunk", |
193 | 193 | content: { type: "text", text: "Answer" }, |
194 | 194 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。