(readable)
| 133 | } |
| 134 | |
| 135 | async function collectStream(readable) { |
| 136 | readable.setEncoding('utf8'); |
| 137 | let data = ''; |
| 138 | for await (const chunk of readable) { |
| 139 | data += chunk; |
| 140 | } |
| 141 | return data; |
| 142 | } |
| 143 | |
| 144 | function workerTest(opts, command, wantsError, test) { |
| 145 | let workerError = null; |
no test coverage detected