(signal: { aborted: boolean })
| 379 | } |
| 380 | |
| 381 | async function topCall(signal: { aborted: boolean }): Promise<PromptResult<string[]>> { |
| 382 | const result = await middleCall(signal) |
| 383 | if (result.aborted) { |
| 384 | return result // Propagate abort |
| 385 | } |
| 386 | return promptSuccess([result.value, 'additional']) |
| 387 | } |
| 388 | |
| 389 | it('propagates success through all levels', async () => { |
| 390 | const signal = { aborted: false } |
no test coverage detected