MCPcopy Create free account
hub / github.com/CopilotKit/aimock / loadSource

Function loadSource

src/cli.ts:393–397  ·  view source on GitHub ↗
(source: ResolvedFixtureSource)

Source from the content-addressed store, hash-verified

391}
392
393function loadSource(source: ResolvedFixtureSource): Fixture[] {
394 return source.isDir
395 ? loadFixturesFromDir(source.path, logger)
396 : loadFixtureFile(source.path, logger);
397}
398
399async function main() {
400 const sources = await resolveAllFixtureSources();

Callers 2

mainFunction · 0.85
loadFnFunction · 0.85

Calls 2

loadFixturesFromDirFunction · 0.85
loadFixtureFileFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…