( stream: AsyncIterable<StreamChunk>, )
| 60 | } |
| 61 | |
| 62 | async function collect( |
| 63 | stream: AsyncIterable<StreamChunk>, |
| 64 | ): Promise<Array<StreamChunk>> { |
| 65 | const out: Array<StreamChunk> = [] |
| 66 | for await (const chunk of stream) out.push(chunk) |
| 67 | return out |
| 68 | } |
| 69 | |
| 70 | describe('startOpencodeServerInSandbox', () => { |
| 71 | it('resolves baseUrl once the server logs readiness', async () => { |
no test coverage detected