()
| 19 | describe('BashTool cancellation contract', () => { |
| 20 | it('reports the cancellation with an "Interrupted by user" message and kills the process', async () => { |
| 21 | let resolveWait: (code: number) => void = () => {}; |
| 22 | const waitPromise = new Promise<number>((resolve) => { |
| 23 | resolveWait = resolve; |
| 24 | }); |