From 5d15f47887c3d4dcb8ef8ea33726fe5561ef1ab8 Mon Sep 17 00:00:00 2001 From: Shakker Date: Mon, 11 May 2026 08:30:35 +0100 Subject: [PATCH] test: tighten fireworks stream assertions --- extensions/fireworks/stream.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extensions/fireworks/stream.test.ts b/extensions/fireworks/stream.test.ts index 39a32733143..129e36790d4 100644 --- a/extensions/fireworks/stream.test.ts +++ b/extensions/fireworks/stream.test.ts @@ -42,7 +42,7 @@ describe("createFireworksKimiThinkingDisabledWrapper", () => { api: "openai-completions", modelId: "accounts/fireworks/routers/kimi-k2p5-turbo", }), - ).toMatchObject({ thinking: { type: "disabled" } }); + ).toEqual({ thinking: { type: "disabled" } }); }); it("forces thinking disabled for Fireworks Kimi k2.5 aliases", () => { @@ -52,7 +52,7 @@ describe("createFireworksKimiThinkingDisabledWrapper", () => { api: "openai-completions", modelId: "accounts/fireworks/routers/kimi-k2.5-turbo", }), - ).toMatchObject({ thinking: { type: "disabled" } }); + ).toEqual({ thinking: { type: "disabled" } }); }); it("forces thinking disabled for Fireworks Kimi k2.6 models", () => { @@ -62,7 +62,7 @@ describe("createFireworksKimiThinkingDisabledWrapper", () => { api: "openai-completions", modelId: "accounts/fireworks/models/kimi-k2p6", }), - ).toMatchObject({ thinking: { type: "disabled" } }); + ).toEqual({ thinking: { type: "disabled" } }); expect( capturePayload({ @@ -70,7 +70,7 @@ describe("createFireworksKimiThinkingDisabledWrapper", () => { api: "openai-completions", modelId: "accounts/fireworks/routers/kimi-k2.6-turbo", }), - ).toMatchObject({ thinking: { type: "disabled" } }); + ).toEqual({ thinking: { type: "disabled" } }); }); it("strips reasoning fields when disabling Fireworks Kimi thinking", () => {