From 71fa6602438e7ed0ba034e58615734e40faf591a Mon Sep 17 00:00:00 2001 From: ryan-crabbe-berri Date: Thu, 5 Nov 2026 19:57:43 -0800 Subject: [PATCH] test(model-hub): name the deployment pricing fixture to stay within the inline object lint budget --- .../src/components/AIHub/ModelHubTable.test.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/litellm-dashboard/src/components/AIHub/ModelHubTable.test.tsx b/ui/litellm-dashboard/src/components/AIHub/ModelHubTable.test.tsx index 4132f7986c7..1b30b060ab0 100644 --- a/ui/litellm-dashboard/src/components/AIHub/ModelHubTable.test.tsx +++ b/ui/litellm-dashboard/src/components/AIHub/ModelHubTable.test.tsx @@ -427,7 +427,7 @@ describe("ModelHubTable", () => { }); it("shows each deployment's own prices, by service tier, in the model details", async () => { - const dialog = await openDetails({ + const gpt5OnOpenAIAndAzure = { model_group: "gpt-5", providers: ["openai", "azure"], mode: "chat", @@ -439,7 +439,8 @@ describe("ModelHubTable", () => { }, { provider: "azure", costs: { input_cost_per_token: 2.75e-6 }, tiered_pricing: [] }, ], - }); + }; + const dialog = await openDetails(gpt5OnOpenAIAndAzure); const openai = within(dialog).getByRole("region", { name: "OpenAI pricing" }); expect(within(openai).getByRole("row", { name: /Input \/ 1M tokens/ })).toHaveTextContent("$2.50$5.00");