File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ describe('PTY Echo Behavior', () => {
2424
2525 // Subscribe to raw output events
2626 onRawOutput ( ( _sessionId , rawData ) => {
27+ console . log ( 'Received raw data:' , rawData )
2728 receivedOutputs . push ( rawData )
2829 } )
2930
@@ -40,14 +41,14 @@ describe('PTY Echo Behavior', () => {
4041 console . log ( 'Echo session from get:' , fullSession )
4142
4243 // Wait for PTY to initialize and show prompt
43- await new Promise ( ( resolve ) => setTimeout ( resolve , 200 ) )
44+ await new Promise ( ( resolve ) => setTimeout ( resolve , 1000 ) )
4445
4546 // Send test input
4647 const success = manager . write ( session . id , 'a' )
4748 console . log ( 'Write success:' , success )
4849
4950 // Wait for echo to be processed
50- await new Promise ( ( resolve ) => setTimeout ( resolve , 200 ) )
51+ await new Promise ( ( resolve ) => setTimeout ( resolve , 1000 ) )
5152
5253 // Clean up
5354 manager . kill ( session . id , true )
You can’t perform that action at this time.
0 commit comments