Update streamNormalInput.test.ts

This commit is contained in:
Tomasz Stefaniak 2025-07-29 14:45:31 -07:00
parent b524c413f2
commit 1730b68e1e

View file

@ -248,6 +248,18 @@ describe("streamNormalInput", () => {
expect.any(AbortSignal),
);
// Verify dev data logging call
expect(mockIdeMessenger.post).toHaveBeenCalledWith("devdata/log", {
name: "chatInteraction",
data: {
prompt: "Hello",
completion: "Hi there!",
modelProvider: "anthropic",
modelTitle: "Claude 3.5 Sonnet",
sessionId: "session-123",
},
});
expect(result.type).toBe("chat/streamNormalInput/fulfilled");
// Verify final state after thunk completion