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

Function loadRootFixture

test-fixtures/helpers/fixture-loader.ts:84–87  ·  view source on GitHub ↗
(filename: string)

Source from the content-addressed store, hash-verified

82 * Load a test fixture from the root fixtures directory
83 */
84export async function loadRootFixture(filename: string): Promise<string> {
85 const filePath = path.join(FIXTURES_ROOT, filename)
86 return fs.readFile(filePath, 'utf-8')
87}
88
89/**
90 * Get the absolute path to a fixture in the root fixtures directory

Callers 1

loadTestFileFunction · 0.90

Calls

no outgoing calls

Tested by 1

loadTestFileFunction · 0.72