(content: string)
| 52 | } |
| 53 | |
| 54 | function readLinesFromContent(content: string): Kaos['readLines'] { |
| 55 | return async function* readLines(): AsyncGenerator<string> { |
| 56 | for (const line of linesFromContent(content)) { |
| 57 | yield line; |
| 58 | } |
| 59 | }; |
| 60 | } |
| 61 | |
| 62 | function withReadStatus(output: string, status: string): string { |
| 63 | const note = `<system>${status}</system>`; |
no test coverage detected