From b98960e09db4d6329e87d3536febde2e957d2425 Mon Sep 17 00:00:00 2001 From: Tomasz Stefaniak Date: Tue, 29 Jul 2025 14:30:32 -0700 Subject: [PATCH] Update streamNormalInput.test.ts --- gui/src/redux/thunks/streamNormalInput.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gui/src/redux/thunks/streamNormalInput.test.ts b/gui/src/redux/thunks/streamNormalInput.test.ts index 8079b8143..4fdd8ba7f 100644 --- a/gui/src/redux/thunks/streamNormalInput.test.ts +++ b/gui/src/redux/thunks/streamNormalInput.test.ts @@ -202,15 +202,15 @@ describe("streamNormalInput", () => { // Verify IDE messenger calls expect(mockIdeMessenger.request).toHaveBeenCalledWith("llm/compileChat", { - messages: expect.any(Array), - options: expect.any(Object), + messages: [{ role: "user", content: "Hello" }], + options: {}, }); expect(mockIdeMessenger.llmStreamChat).toHaveBeenCalledWith( expect.objectContaining({ - completionOptions: expect.any(Object), + completionOptions: {}, title: "Claude 3.5 Sonnet", - messages: expect.any(Array), + messages: [{ role: "user", content: "Hello" }], messageOptions: { precompiled: true }, }), expect.any(AbortSignal),