(output: unknown)
| 14 | import { EchoTool, FailingTool, type EchoInput } from './fixtures/tools'; |
| 15 | |
| 16 | function expectTextOutput(output: unknown): string { |
| 17 | expect(typeof output).toBe('string'); |
| 18 | return output as string; |
| 19 | } |
| 20 | |
| 21 | describe('runTurn — beforeStep hook', () => { |
| 22 | it('passes through when the hook returns undefined', async () => { |