MCPcopy
hub / github.com/garrytan/gstack / killDaemon

Function killDaemon

browse/test/pair-agent-e2e.test.ts:81–84  ·  view source on GitHub ↗
(handle: DaemonHandle)

Source from the content-addressed store, hash-verified

79}
80
81function killDaemon(handle: DaemonHandle): void {
82 try { handle.proc.kill('SIGKILL'); } catch {}
83 try { fs.rmSync(handle.tempDir, { recursive: true, force: true }); } catch {}
84}
85
86describe('pair-agent flow end-to-end (HTTP only, no ngrok)', () => {
87 let daemon: DaemonHandle;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected