Skip to content

Commit 99e9461

Browse files
committed
Fix web-server test expectations for PTY session command and args
- Update test to expect 'cat' command with empty args instead of 'sleep' with ['1'] - This aligns with the actual PTY spawn behavior in the manager - Ensures API serialization tests pass correctly
1 parent 7917d00 commit 99e9461

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/web-server.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ describe('Web Server', () => {
196196

197197
it('should handle kill session', async () => {
198198
const session = manager.spawn({
199-
command: 'echo',
200-
args: ['test output'],
199+
command: 'sleep',
200+
args: ['1'],
201201
description: 'Test session',
202202
parentSessionId: 'test',
203203
})

0 commit comments

Comments
 (0)