MCPcopy Index your code
hub / github.com/deepnote/deepnote / getOutput

Function getOutput

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

Source from the content-addressed store, hash-verified

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

Callers 1

cat.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected