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

Function cleanup

test/resolveProjectDir.test.js:16–18  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

14 return fs.realpathSync(fs.mkdtempSync(path.join(os.tmpdir(), 'evolver-projdir-test-')));
15}
16function cleanup(dir) {
17 try { fs.rmSync(dir, { recursive: true, force: true }); } catch {}
18}
19
20describe('resolveProjectDir', () => {
21 // Snapshot and restore the env vars + cwd we mutate, so tests are isolated

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected