mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-30 01:52:18 +00:00
test(ui): hoist wireBody expectation under the inline-object budget
Co-Authored-By: bot_apk <apk@cognition.ai>
This commit is contained in:
parent
6494f8afad
commit
b7a82bb7b9
1 changed files with 3 additions and 2 deletions
|
|
@ -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 () => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue