(spy: Mock<typeof console.log>)
| 24 | const DEFAULT_OPTIONS: LintOptions = {} |
| 25 | |
| 26 | function getOutput(spy: Mock<typeof console.log>): string { |
| 27 | return spy.mock.calls.map(call => call.join(' ')).join('\n') |
| 28 | } |
| 29 | |
| 30 | function getErrorOutput(spy: Mock<typeof console.error>): string { |
| 31 | return spy.mock.calls.map(call => call.join(' ')).join('\n') |