style(ui): format the stale preview regression test

This commit is contained in:
Tin Chi Lo 2026-08-28 12:08:04 -07:00
parent 27d63d57e4
commit beccf1c083

View file

@ -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 () => {