MCPcopy Create free account
hub / github.com/EvoMap/evolver / makeFakeEvomapDir

Function makeFakeEvomapDir

test/lifecycleNodeIdUnification.test.js:70–74  ·  view source on GitHub ↗
(setupFn)

Source from the content-addressed store, hash-verified

68const LEGACY_ID = 'node_abcdef0123456789';
69
70function makeFakeEvomapDir(setupFn) {
71 const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'evolver-nodeid-unify-'));
72 if (setupFn) setupFn(dir);
73 return dir;
74}
75
76function makeStore(initial = {}) {
77 const state = { ...initial };

Calls

no outgoing calls

Tested by

no test coverage detected