MCPcopy
hub / github.com/Fission-AI/OpenSpec / registerStoreFixture

Function registerStoreFixture

test/commands/store-root-selection.test.ts:81–86  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

79 }
80
81 async function registerStoreFixture(id: string): Promise<string> {
82 const root = path.join(tempDir, 'stores', id);
83 createOpenSpecRoot(root);
84 await registerStore({ id, localPath: root, globalDataDir });
85 return fs.realpathSync.native(root);
86 }
87
88 function createChange(
89 rootDir: string,

Callers 1

Calls 2

createOpenSpecRootFunction · 0.70
registerStoreFunction · 0.50

Tested by

no test coverage detected