From b7a82bb7b916f8ccda7be2ccbe209bb5f9764ec9 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 25 Sep 2026 03:57:27 +0000 Subject: [PATCH] test(ui): hoist wireBody expectation under the inline-object budget Co-Authored-By: bot_apk --- ui/litellm-dashboard/src/components/Teams.test.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/litellm-dashboard/src/components/Teams.test.tsx b/ui/litellm-dashboard/src/components/Teams.test.tsx index dfde4666277..d8b03127bde 100644 --- a/ui/litellm-dashboard/src/components/Teams.test.tsx +++ b/ui/litellm-dashboard/src/components/Teams.test.tsx @@ -1320,12 +1320,13 @@ describe("Teams - the exact bytes the create call sends", () => { metadata: undefined, mcp_tool_overrides: {}, }); - expect(wireBody(payload)).toStrictEqual({ + const expectedWireBody = { team_alias: "Byte Contract Team", organization_id: null, models: ["no-default-models"], mcp_tool_overrides: {}, - }); + }; + expect(wireBody(payload)).toStrictEqual(expectedWireBody); }); it("keeps every newly mounted but untouched field out of the request body", async () => {