()
| 240 | |
| 241 | const continuousRun = { |
| 242 | async end() { |
| 243 | jestPromise.kill(); |
| 244 | |
| 245 | const result = await jestPromise; |
| 246 | |
| 247 | // Not sure why we have to assign here... The ones on `result` are empty strings |
| 248 | result.stdout = stdout; |
| 249 | result.stderr = stderr; |
| 250 | |
| 251 | return normalizeStdoutAndStderrOnResult(result, options); |
| 252 | }, |
| 253 | |
| 254 | getCurrentOutput(): StdErrAndOutString { |
| 255 | return {stderr, stdout}; |