test assert live scrollback write succeeds

This commit is contained in:
Brennan Benson
2026-08-13 03:03:20 -07:00
parent c3b0400294
commit 80b928411f
@@ -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)