From beccf1c08368f39fa5be97f4d295e6680f5ad74f Mon Sep 17 00:00:00 2001 From: Tin Chi Lo Date: Fri, 28 Aug 2026 12:08:04 -0700 Subject: [PATCH] style(ui): format the stale preview regression test --- .../src/components/add_model/CustomTierPromptEditor.test.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/litellm-dashboard/src/components/add_model/CustomTierPromptEditor.test.tsx b/ui/litellm-dashboard/src/components/add_model/CustomTierPromptEditor.test.tsx index 9cce7f969b1..f1a639c78ce 100644 --- a/ui/litellm-dashboard/src/components/add_model/CustomTierPromptEditor.test.tsx +++ b/ui/litellm-dashboard/src/components/add_model/CustomTierPromptEditor.test.tsx @@ -99,9 +99,7 @@ describe("CustomTierPromptEditor", () => { resolveFirst("assembled from the stale draft"); await new Promise((resolve) => setTimeout(resolve, 0)); - expect(screen.getByLabelText("Assembled classifier prompt")).toHaveTextContent( - "assembled from the edited draft", - ); + expect(screen.getByLabelText("Assembled classifier prompt")).toHaveTextContent("assembled from the edited draft"); }); it("keeps the editor usable when the preview cannot be fetched", async () => {