MCPcopy
hub / github.com/Doorman11991/smallcode / freshTmpRoot

Function freshTmpRoot

test/contract.test.js:31–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29// ─── helpers ────────────────────────────────────────────────────────────────
30
31function freshTmpRoot() {
32 const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'smallcode-contract-'));
33 // The store reads .smallcode/contracts under cwd. Each test uses a fresh dir.
34 return dir;
35}
36
37// ─── state model ────────────────────────────────────────────────────────────
38

Callers 1

contract.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected