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

Function getAllOutput

packages/cli/src/commands/open.test.ts:42–46  ·  view source on GitHub ↗
(logSpy: Mock<typeof console.log>, errorSpy: Mock<typeof console.error>)

Source from the content-addressed store, hash-verified

40}
41
42function getAllOutput(logSpy: Mock<typeof console.log>, errorSpy: Mock<typeof console.error>): string {
43 const logOutput = logSpy.mock.calls.map(call => call.join(' ')).join('\n')
44 const errorOutput = errorSpy.mock.calls.map(call => call.join(' ')).join('\n')
45 return logOutput + (logOutput && errorOutput ? '\n' : '') + errorOutput
46}
47
48describe('open command', () => {
49 let program: Command

Callers 1

open.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected