diff --git a/test/shell-scroll-history-pull.test.ts b/test/shell-scroll-history-pull.test.ts index 56853297..54112ed2 100644 --- a/test/shell-scroll-history-pull.test.ts +++ b/test/shell-scroll-history-pull.test.ts @@ -763,6 +763,8 @@ describe('manual full-history recovery while reading (#814)', () => { _serializeAddon: null, _disconnectWs: vi.fn(), _flushLocalEchoTo: vi.fn(), + // Both cleanups settle the main pane's native input first (#839). + _settleMainInput: vi.fn(), _clearTimer: vi.fn(), _pendingDroppedOutputRecovery: { sessionId: 's1', attempt: 2 }, activeSessionId: 's1',