MCPcopy
hub / github.com/deepnote/deepnote / loadExampleFile

Function loadExampleFile

packages/runtime-core/src/execution-engine.test.ts:64–69  ·  view source on GitHub ↗
(filename: string)

Source from the content-addressed store, hash-verified

62
63// Load example files (tests run from project root)
64function loadExampleFile(filename: string): DeepnoteFile {
65 const filePath = `examples/${filename}`
66 const rawBytes = readFileSync(filePath)
67 const content = decodeUtf8NoBom(rawBytes)
68 return deserializeDeepnoteFile(content)
69}
70
71function loadFixture(filename: string): DeepnoteFile {
72 const filePath = `test-fixtures/${filename}`

Callers 1

Calls 2

decodeUtf8NoBomFunction · 0.90
deserializeDeepnoteFileFunction · 0.90

Tested by

no test coverage detected