Roo-Code/src/integrations/terminal
Eric Wheeler 701b5a7d87 test: align terminal tests with shell integration safeguards
Update TerminalProcessExec tests to properly handle shell integration
event sequences:

- Set terminal.running=true before command execution
- Remove duplicate command execution that could trigger extra events
- Replace arbitrary timeout with event-based waiting for output
- Ensure proper event sequence (run -> start -> output -> end)

This aligns the tests with the safeguards added in 62ffa797 that
prevent spurious shell integration events from corrupting terminal
state.

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-03-10 21:22:19 -07:00
..
__tests__ test: align terminal tests with shell integration safeguards 2025-03-10 21:22:19 -07:00
get-latest-output.ts Revert "Smart truncation for terminal output" 2025-03-10 20:54:53 -07:00
Terminal.ts fix: allow background terminals to broadcast output across tasks 2025-03-10 20:55:05 -07:00
TerminalProcess.ts fix: improve error handling when start sequence not received but stream started 2025-03-10 20:55:05 -07:00
TerminalRegistry.ts fix: prevent spurious onDidEndTerminalShellExecution from breaking terminal output 2025-03-10 20:55:05 -07:00