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