()
| 17 | import { EchoTool, GatedTool, markReadFileAccesses, SlowTool } from './fixtures/tools'; |
| 18 | |
| 19 | function waitOneMacrotask(): Promise<void> { |
| 20 | return new Promise((resolve) => { |
| 21 | setTimeout(resolve, 0); |
| 22 | }); |
| 23 | } |
| 24 | |
| 25 | describe('runTurn — abort handling', () => { |
| 26 | it('returns aborted without throwing when signal is already aborted on entry', async () => { |