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

Function getJsonOutput

packages/cli/src/commands/run.test.ts:115–118  ·  view source on GitHub ↗
(spy: Mock)

Source from the content-addressed store, hash-verified

113
114// Helper to parse JSON from console output
115function getJsonOutput(spy: Mock): unknown {
116 const calls = spy.mock.calls.map(call => call.join(' ')).join('\n')
117 return JSON.parse(calls)
118}
119
120// Example files relative to project root
121const HELLO_WORLD_FILE = join('examples', '1_hello_world.deepnote')

Callers 1

run.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected