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