File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
server/aws-lsp-codewhisperer/src/language-server/agenticChat/tools Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -60,13 +60,8 @@ describe('ExecuteBash Tool', () => {
60
60
61
61
const writable = new WritableStream ( )
62
62
const result = await execBash . invoke ( { command : 'ls' } , writable )
63
-
64
63
assert . strictEqual ( result . output . kind , 'json' )
65
- assert . ok ( 'exitStatus' in result . output . content && result . output . content . exitStatus === '0' )
66
- assert . ok (
67
- 'stdout' in result . output . content &&
68
- typeof result . output . content . stdout === 'string' &&
69
- result . output . content . stdout . length > 0
70
- )
64
+ assert . ok ( 'exitStatus' in result . output . content )
65
+ assert . ok ( 'stdout' in result . output . content && typeof result . output . content . stdout === 'string' )
71
66
} )
72
67
} )
You can’t perform that action at this time.
0 commit comments