mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 20:10:42 +00:00
test: clarify transcript event listener assertions
This commit is contained in:
@@ -45,7 +45,7 @@ describe("transcript events", () => {
|
||||
cleanup.push(onSessionTranscriptUpdate(first));
|
||||
cleanup.push(onSessionTranscriptUpdate(second));
|
||||
|
||||
expect(() => emitSessionTranscriptUpdate("/tmp/session.jsonl")).not.toThrow();
|
||||
expect(emitSessionTranscriptUpdate("/tmp/session.jsonl")).toBeUndefined();
|
||||
expect(first).toHaveBeenCalledTimes(1);
|
||||
expect(second).toHaveBeenCalledTimes(1);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user