From 80b928411f2107d6419b1f7b1ea0db3a6dc00de8 Mon Sep 17 00:00:00 2001 From: Brennan Benson <79079362+brennanb2025@users.noreply.github.com> Date: Thu, 13 Aug 2026 03:03:20 -0700 Subject: [PATCH] test assert live scrollback write succeeds --- src/main/daemon/daemon-restore-scrollback-depth.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/daemon/daemon-restore-scrollback-depth.test.ts b/src/main/daemon/daemon-restore-scrollback-depth.test.ts index bc7ec485157..7ce4742530d 100644 --- a/src/main/daemon/daemon-restore-scrollback-depth.test.ts +++ b/src/main/daemon/daemon-restore-scrollback-depth.test.ts @@ -123,7 +123,7 @@ describe('STA-4091 previously recoverable restore depth', () => { scrollback: DAEMON_SESSION_SCROLLBACK_ROWS }) try { - live.writeSync(numberedOutput(DESKTOP_TERMINAL_SCROLLBACK_ROWS_DEFAULT)) + expect(live.writeSync(numberedOutput(DESKTOP_TERMINAL_SCROLLBACK_ROWS_DEFAULT))).toBe(true) const liveSnapshot = live.getSnapshot() expect(snapshotText(liveSnapshot)).not.toContain(PREVIOUSLY_RECOVERABLE_LINE)