test(ui): hoist wireBody expectation under the inline-object budget

Co-Authored-By: bot_apk <apk@cognition.ai>
This commit is contained in:
Devin AI 2026-09-25 03:57:27 +00:00
parent 6494f8afad
commit b7a82bb7b9

View file

@ -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 () => {