Update streamNormalInput.test.ts
This commit is contained in:
parent
b524c413f2
commit
1730b68e1e
1 changed files with 12 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue