From 1fcc958460ef6d88cd0b5b577c435f716bcb2120 Mon Sep 17 00:00:00 2001 From: "posthog-eu[bot]" <226701856+posthog-eu[bot]@users.noreply.github.com> Date: Wed, 15 Jul 2026 11:40:54 +0000 Subject: [PATCH] Fix Prettier formatting in PdfEngineBoundary test frontend:format:check failed CI because the new test file wasn't Prettier-formatted. No logic change. Generated-By: PostHog Code Task-Id: 3aa5a9d0-e661-4860-8e51-4610b2599780 --- .../components/viewer/PdfEngineBoundary.test.tsx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/frontend/editor/src/core/components/viewer/PdfEngineBoundary.test.tsx b/frontend/editor/src/core/components/viewer/PdfEngineBoundary.test.tsx index f91425079b..7321b9a281 100644 --- a/frontend/editor/src/core/components/viewer/PdfEngineBoundary.test.tsx +++ b/frontend/editor/src/core/components/viewer/PdfEngineBoundary.test.tsx @@ -33,9 +33,7 @@ const renderBoundary = (onRetry = vi.fn(), timeoutMs = 1000) => { return { onRetry, ...utils }; }; -const wrap = (node: ReactNode) => ( - {node} -); +const wrap = (node: ReactNode) => {node}; describe("PdfEngineBoundary", () => { beforeEach(() => { @@ -65,9 +63,7 @@ describe("PdfEngineBoundary", () => { // The spinner is replaced by an actionable error state. expect(screen.queryByText("Loading PDF Engine...")).toBeNull(); - expect( - screen.getByText("viewer.engineLoadErrorTitle"), - ).toBeInTheDocument(); + expect(screen.getByText("viewer.engineLoadErrorTitle")).toBeInTheDocument(); const retry = screen.getByText("viewer.engineLoadErrorRetry"); fireEvent.click(retry); @@ -87,9 +83,7 @@ describe("PdfEngineBoundary", () => { , ), ); - expect( - screen.getByText("viewer.engineLoadErrorTitle"), - ).toBeInTheDocument(); + expect(screen.getByText("viewer.engineLoadErrorTitle")).toBeInTheDocument(); }); it("renders children once the engine is ready", () => {