From 1730b68e1eefaa3bfa1904ec6ffdb21ee06ecfab Mon Sep 17 00:00:00 2001 From: Tomasz Stefaniak Date: Tue, 29 Jul 2025 14:45:31 -0700 Subject: [PATCH] Update streamNormalInput.test.ts --- gui/src/redux/thunks/streamNormalInput.test.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gui/src/redux/thunks/streamNormalInput.test.ts b/gui/src/redux/thunks/streamNormalInput.test.ts index 0987b9b7c..62027b0a5 100644 --- a/gui/src/redux/thunks/streamNormalInput.test.ts +++ b/gui/src/redux/thunks/streamNormalInput.test.ts @@ -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