()
| 21 | // capture the secret (see memory: paths.test.js /tmp/.git flake). A real user |
| 22 | // project is a git repo anyway, so this matches reality. |
| 23 | function makeTmpDir() { |
| 24 | const d = fs.realpathSync(fs.mkdtempSync(path.join(os.tmpdir(), 'evolver-wsid-test-'))); |
| 25 | execSync('git init -q', { cwd: d }); |
| 26 | return d; |
| 27 | } |
| 28 | function cleanup(dir) { try { fs.rmSync(dir, { recursive: true, force: true }); } catch {} } |
| 29 | |
| 30 | // fs.symlinkSync on Windows requires either administrator privileges or |
no outgoing calls
no test coverage detected