MCPcopy
hub / github.com/Fission-AI/OpenSpec / fakeSpawn

Function fakeSpawn

test/commands/workset.test.ts:769–775  ·  view source on GitHub ↗
(behavior: (child: FakeChild) => void)

Source from the content-addressed store, hash-verified

767 class FakeChild extends EventEmitter {}
768
769 function fakeSpawn(behavior: (child: FakeChild) => void) {
770 return ((..._args: unknown[]) => {
771 const child = new FakeChild();
772 queueMicrotask(() => behavior(child));
773 return child;
774 }) as any;
775 }
776
777 const command = {
778 executable: 'claude',

Callers 1

workset.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected