(relativePath: string)
| 10 | const BLOCKS_FILE = join('examples', '2_blocks.deepnote') |
| 11 | |
| 12 | function loadDeepnoteFile(relativePath: string) { |
| 13 | const content = readFileSync(relativePath, 'utf-8') |
| 14 | return deserializeDeepnoteFile(content) |
| 15 | } |
| 16 | |
| 17 | function findBlockByType(blocks: DeepnoteBlock[], type: string): DeepnoteBlock { |
| 18 | const block = blocks.find(b => b.type === type) |
no test coverage detected