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

Function loadFixture

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

Source from the content-addressed store, hash-verified

69}
70
71function 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
79const HELLO_WORLD = loadExampleFile('1_hello_world.deepnote')

Callers 1

Calls 2

decodeUtf8NoBomFunction · 0.90
deserializeDeepnoteFileFunction · 0.90

Tested by

no test coverage detected