mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
style(ui): format pricing test fixtures with prettier
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
d197ca20fa
commit
4f86035a79
2 changed files with 2 additions and 9 deletions
|
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue