()
| 152 | } |
| 153 | |
| 154 | function writer() { |
| 155 | let text = ''; |
| 156 | return { write: (chunk: string) => ((text += chunk), true), text: () => text }; |
| 157 | } |
| 158 | |
| 159 | describe('runPrompt headless goal mode', () => { |
| 160 | let savedExitCode: typeof process.exitCode; |