MCPcopy Create free account
hub / github.com/deepnote/deepnote / loadFixture

Function loadFixture

test-fixtures/helpers/fixture-loader.ts:19–22  ·  view source on GitHub ↗
(category: string, filename: string)

Source from the content-addressed store, hash-verified

17 * Load a fixture file as a string
18 */
19export async function loadFixture(category: string, filename: string): Promise<string> {
20 const filePath = getFixturePath(category, filename)
21 return fs.readFile(filePath, 'utf-8')
22}
23
24/**
25 * Load a Marimo format fixture (.marimo.py)

Callers 7

loadMarimoFixtureFunction · 0.70
loadPercentFixtureFunction · 0.70
loadQuartoFixtureFunction · 0.70
loadJupyterFixtureFunction · 0.70
loadDeepnoteFixtureFunction · 0.70
loadEdgeCaseFixtureFunction · 0.70
loadDiffFixtureFunction · 0.70

Calls 1

getFixturePathFunction · 0.85

Tested by

no test coverage detected