Compare commits

...

1 Commits

Author SHA1 Message Date
James Long 13bcc9f70d test(tui): cover streaming shell state 2026-07-08 14:08:12 +00:00
+8
View File
@@ -1770,6 +1770,14 @@ test("settles pending tools when a live failure arrives", async () => {
name: "bash",
},
})
await wait(() => {
const assistant = sync.session.message.get("session-1", "msg_explicit_assistant_9")
return (
assistant?.type === "assistant" &&
assistant.content[0]?.type === "tool" &&
assistant.content[0].state.status === "streaming"
)
})
emitEvent(events, {
id: "evt_called_1",
created: 0,