mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
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
|
||
|---|---|---|
| .. | ||
| __tests__ | ||
| get-latest-output.ts | ||
| Terminal.ts | ||
| TerminalProcess.ts | ||
| TerminalRegistry.ts | ||