Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

style(ui): format pricing test fixtures with prettier

ryan4f86035a79c2
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/components/AllModelsTable.test.tsx b/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/components/AllModelsTable.test.tsx
index 3c054831d99..cc0169d745c 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/components/AllModelsTable.test.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/components/AllModelsTable.test.tsx
@@ -175,12 +175,7 @@ describe("AllModelsTable", () => {
expect(screen.getByText("$30")).toBeInTheDocument();
expect(screen.getByText("$60")).toBeInTheDocument();
- rerender(
- <AllModelsTable
- {...baseProps}
- data={[makeModel({ input_cost: null, output_cost: null })]}
- />,
- );
+ rerender(<AllModelsTable {...baseProps} data={[makeModel({ input_cost: null, output_cost: null })]} />);
expect(screen.queryByText(/^\$/)).not.toBeInTheDocument();
});
diff --git a/ui/litellm-dashboard/src/components/molecules/models/ModelPricingSummary.test.tsx b/ui/litellm-dashboard/src/components/molecules/models/ModelPricingSummary.test.tsx
index 7cccea2a540..921a824e671 100644
--- a/ui/litellm-dashboard/src/components/molecules/models/ModelPricingSummary.test.tsx
+++ b/ui/litellm-dashboard/src/components/molecules/models/ModelPricingSummary.test.tsx
@@ -48,9 +48,7 @@ describe("ModelPricingSummary", () => {
});
it("renders a dash when the model has no pricing at all", () => {
- render(
- <ModelPricingSummary model={{ input_cost: null, output_cost: null }} />,
- );
+ render(<ModelPricingSummary model={{ input_cost: null, output_cost: null }} />);
expect(screen.getByText("-")).toBeInTheDocument();
expect(screen.queryByText(/\$/)).not.toBeInTheDocument();
});