(filename: string)
| 69 | } |
| 70 | |
| 71 | function loadFixture(filename: string): DeepnoteFile { |
| 72 | const filePath = `test-fixtures/${filename}` |
| 73 | const rawBytes = readFileSync(filePath) |
| 74 | const content = decodeUtf8NoBom(rawBytes) |
| 75 | return deserializeDeepnoteFile(content) |
| 76 | } |
| 77 | |
| 78 | // Pre-load example files for tests |
| 79 | const HELLO_WORLD = loadExampleFile('1_hello_world.deepnote') |
no test coverage detected