test: clarify transcript event listener assertions · openclaw/openclaw@390664c
steipete
·
2026-05-08
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -45,7 +45,7 @@ describe("transcript events", () => {
|
45 | 45 | cleanup.push(onSessionTranscriptUpdate(first)); |
46 | 46 | cleanup.push(onSessionTranscriptUpdate(second)); |
47 | 47 | |
48 | | -expect(() => emitSessionTranscriptUpdate("/tmp/session.jsonl")).not.toThrow(); |
| 48 | +expect(emitSessionTranscriptUpdate("/tmp/session.jsonl")).toBeUndefined(); |
49 | 49 | expect(first).toHaveBeenCalledTimes(1); |
50 | 50 | expect(second).toHaveBeenCalledTimes(1); |
51 | 51 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。