diff --git a/apps/builder/app/builder/features/publish/publish-progress.test.tsx b/apps/builder/app/builder/features/publish/publish-progress.test.tsx index 1af5116321..cf75e9ab3b 100644 --- a/apps/builder/app/builder/features/publish/publish-progress.test.tsx +++ b/apps/builder/app/builder/features/publish/publish-progress.test.tsx @@ -54,7 +54,7 @@ test("a pending runner cannot promote a refreshed Build to success", async () => createdAt: new Date().toISOString(), publishStatus: "PUBLISHED", }, - } as Project) + }) as Project ); const getJob = vi .fn() @@ -84,7 +84,7 @@ test("a pending runner cannot turn a timed-out Build into failure", async () => createdAt: "2026-11-13T10:00:00Z", publishStatus: "PENDING", }, - } as Project) + }) as Project ); const getJob = vi .fn() @@ -112,7 +112,7 @@ test("static status waits for the matching runner before download readiness", as updatedAt: new Date().toISOString(), publishStatus: "PUBLISHED", }, - } as Project) + }) as Project ); const getJob = vi .fn() @@ -150,7 +150,7 @@ test.each(["site", "static"] as const)( ({ latestBuildVirtual: target === "site" ? newerBuild : null, latestStaticBuild: target === "static" ? newerBuild : null, - } as Project) + }) as Project ); const getJob = vi.fn(async () => ({ status: "success" })); const waiting = waitForPublishStatus( @@ -188,7 +188,7 @@ test.each(["site", "static"] as const)( ({ latestBuildVirtual: target === "site" ? staleBuild : null, latestStaticBuild: target === "static" ? staleBuild : null, - } as Project) + }) as Project ); const getJob = vi.fn(async () => ({ status: "success" })); const result = await waitForPublishStatus( diff --git a/apps/builder/app/builder/features/publish/publish-progress.tsx b/apps/builder/app/builder/features/publish/publish-progress.tsx index 03e0b10510..ba211cbd14 100644 --- a/apps/builder/app/builder/features/publish/publish-progress.tsx +++ b/apps/builder/app/builder/features/publish/publish-progress.tsx @@ -80,11 +80,11 @@ export const waitForPublishStatus = async ( refreshedProject.latestStaticBuild != null ? getStaticPublishStatusDisplay(refreshedProject.latestStaticBuild) : refreshedProject.latestBuildVirtual != null - ? getPublishStatusDisplay(refreshedProject.latestBuildVirtual) - : { - statusContent: "Not published", - status: "PENDING" as const, - }; + ? getPublishStatusDisplay(refreshedProject.latestBuildVirtual) + : { + statusContent: "Not published", + status: "PENDING" as const, + }; const inferredFailure = status === "FAILED" &&