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