test(model-hub): name the deployment pricing fixture to stay within the inline object lint budget
Some checks failed
Cost map pins recheck / rerun-cost-map-guard (push) Has been cancelled
LiteLLM Rust DB / db-queries (push) Has been cancelled
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled

This commit is contained in:
ryan-crabbe-berri 2026-11-05 19:57:43 -08:00
parent 5b38129816
commit 71fa660243

View file

@ -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");