Skip to content

Commit 8710d1d

Browse files
committed
no-mistakes(lint): Format server browser clipboard tests
1 parent 9702bee commit 8710d1d

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ describe("server browser page copies", () => {
126126
expect(await inPage("document.body.dataset.conversions")).toBe(
127127
text === "converted" || conversionFailure ? "1" : "0",
128128
);
129-
if (conversionFailure) expect(await inPage("document.body.dataset.originalError")).toBe("true");
129+
if (conversionFailure)
130+
expect(await inPage("document.body.dataset.originalError")).toBe("true");
130131
},
131132
);
132133

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,12 +1419,12 @@ it.live("text the page copies after the controlling viewer's click is only offer
14191419
Effect.forkScoped({ startImmediately: true }),
14201420
);
14211421
yield* Effect.promise(() => started.promise);
1422-
const releasingControl = yield* viewer.input({ type: "releaseControl" }).pipe(
1423-
Effect.forkScoped({ startImmediately: true }),
1424-
);
1425-
const retakingControl = yield* viewer.input({ type: "takeControl" }).pipe(
1426-
Effect.forkScoped({ startImmediately: true }),
1427-
);
1422+
const releasingControl = yield* viewer
1423+
.input({ type: "releaseControl" })
1424+
.pipe(Effect.forkScoped({ startImmediately: true }));
1425+
const retakingControl = yield* viewer
1426+
.input({ type: "takeControl" })
1427+
.pipe(Effect.forkScoped({ startImmediately: true }));
14281428
finish.resolve();
14291429
yield* Effect.forEach([releasingMouse, releasingControl, retakingControl], Fiber.join);
14301430
yield* advance(5_000);

0 commit comments

Comments
 (0)