From aa862189066224003a05a4eae40d00938d457b83 Mon Sep 17 00:00:00 2001 From: Joshua Valluru <326636767+joshua-berri@users.noreply.github.com> Date: Sat, 10 Oct 2026 19:31:57 -0700 Subject: [PATCH] style(ui): format decision model selection regression --- .../add_model/add_auto_router_tab.integration.test.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/ui/litellm-dashboard/src/components/add_model/add_auto_router_tab.integration.test.tsx b/ui/litellm-dashboard/src/components/add_model/add_auto_router_tab.integration.test.tsx index 6bf9e2d9fe7..e03ac4e7a1a 100644 --- a/ui/litellm-dashboard/src/components/add_model/add_auto_router_tab.integration.test.tsx +++ b/ui/litellm-dashboard/src/components/add_model/add_auto_router_tab.integration.test.tsx @@ -201,17 +201,12 @@ describe("AddAutoRouterTab", () => { await userEvent.click(screen.getByRole("radio", { name: "Decisions Model" })); expect(screen.queryByLabelText("Classifier Model")).not.toBeInTheDocument(); await userEvent.click(screen.getByRole("combobox", { name: "Decision model" })); - expect( - screen.queryByRole("option", { name: ALL_FAMILY_MODELS[0].model_group }), - ).not.toBeInTheDocument(); + expect(screen.queryByRole("option", { name: ALL_FAMILY_MODELS[0].model_group })).not.toBeInTheDocument(); await userEvent.click(await screen.findByRole("option", { name: "my-decision" })); expect(screen.queryByRole("button", { name: "Routing approach" })).not.toBeInTheDocument(); expect(screen.queryByRole("button", { name: "Choose models for me" })).not.toBeInTheDocument(); expect(screen.queryByLabelText("Classifier Timeout (ms)")).not.toBeInTheDocument(); - expect(screen.getByRole("button", { name: "Advanced settings" })).toHaveAttribute( - "aria-expanded", - "false", - ); + expect(screen.getByRole("button", { name: "Advanced settings" })).toHaveAttribute("aria-expanded", "false"); await userEvent.click(screen.getByRole("button", { name: "Advanced classifier settings" })); fireEvent.change(screen.getByLabelText("Classifier Timeout (ms)"), { target: { value: "4200" } }); fireEvent.change(screen.getByLabelText("Context Window Size"), { target: { value: "5" } });