(spy: Mock<typeof console.log>)
| 15 | const DEFAULT_OPTIONS: StatsOptions = {} |
| 16 | |
| 17 | function getOutput(spy: Mock<typeof console.log>): string { |
| 18 | return spy.mock.calls.map(call => call.join(' ')).join('\n') |
| 19 | } |
| 20 | |
| 21 | function getErrorOutput(spy: Mock<typeof console.error>): string { |
| 22 | return spy.mock.calls.map(call => call.join(' ')).join('\n') |