MCPcopy
hub / github.com/deepnote/deepnote / getOutput

Function getOutput

packages/cli/src/commands/lint.test.ts:26–28  ·  view source on GitHub ↗
(spy: Mock<typeof console.log>)

Source from the content-addressed store, hash-verified

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

Callers 1

lint.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected