Skip to content

Commit a66b70d

Browse files
committed
no-mistakes(ci): Fixed the server typecheck error by discarding the unused Playwright initialization handle, preserving Promise<void>. Server typecheck, 93 focused tests, formatting, lint, and diff checks pass locally. The aggregate Check failure follows the typecheck failure; CI rerun remains with the outer executor
1 parent 8710d1d commit a66b70d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/server/src/preview/ServerBrowser.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,8 @@ export const prepareContext = (context: BrowserContext) => {
581581
if (prepared) return prepared;
582582
const preparing = context
583583
.grantPermissions(["clipboard-write"])
584-
.then(() => context.addInitScript(CLIPBOARD_WRITE_SCRIPT));
584+
.then(() => context.addInitScript(CLIPBOARD_WRITE_SCRIPT))
585+
.then(constVoid);
585586
preparedContexts.set(context, preparing);
586587
return preparing;
587588
};

0 commit comments

Comments
 (0)