(spy: Mock)
| 113 | |
| 114 | // Helper to parse JSON from console output |
| 115 | function 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 |
| 121 | const HELLO_WORLD_FILE = join('examples', '1_hello_world.deepnote') |