MCPcopy Create free account
hub / github.com/garrytan/gstack / makeTestHome

Function makeTestHome

test/gstack-memory-ingest.test.ts:27–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25// ── Helpers ────────────────────────────────────────────────────────────────
26
27function makeTestHome(): string {
28 return mkdtempSync(join(tmpdir(), "gstack-memory-ingest-"));
29}
30
31function runScript(args: string[], env: Record<string, string> = {}): { stdout: string; stderr: string; exitCode: number } {
32 const result = spawnSync("bun", [SCRIPT, ...args], {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected