(spy: Mock<typeof console.log>)
| 36 | const DEFAULT_OPTIONS: OpenOptions = {} |
| 37 | |
| 38 | function getOutput(spy: Mock<typeof console.log>): string { |
| 39 | return spy.mock.calls.map(call => call.join(' ')).join('\n') |
| 40 | } |
| 41 | |
| 42 | function getAllOutput(logSpy: Mock<typeof console.log>, errorSpy: Mock<typeof console.error>): string { |
| 43 | const logOutput = logSpy.mock.calls.map(call => call.join(' ')).join('\n') |