MCPcopy Create free account
hub / github.com/getsentry/XcodeBuildMCP / TestProcess

Class TestProcess

src/server/__tests__/mcp-lifecycle.test.ts:37–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37class TestProcess extends EventEmitter {
38 readonly stdin = new TestStdin();
39 readonly stdout = new TestStdin();
40 readonly stderr = new TestStdin();
41
42 override once(event: string, listener: (...args: unknown[]) => void): this {
43 return super.once(event, listener);
44 }
45
46 override removeListener(event: string, listener: (...args: unknown[]) => void): this {
47 return super.removeListener(event, listener);
48 }
49}
50
51function createTrackedChild(pid = 777): ChildProcess {
52 const emitter = new NodeEventEmitter();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected