MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / createNoopInteractiveSpawner

Function createNoopInteractiveSpawner

src/test-utils/mock-executors.ts:427–436  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

425 * Use this for tests where a spawner is required but should never be called.
426 */
427export function createNoopInteractiveSpawner(): InteractiveSpawner {
428 return () => {
429 throw new Error(
430 `🚨 NOOP INTERACTIVE SPAWNER CALLED! 🚨\n` +
431 `This spawner should never be called in this test context.\n` +
432 `If you see this error, it means the test is exercising a code path that wasn't expected.\n` +
433 `Either fix the test to avoid this code path, or use createMockInteractiveSpawner() instead.`,
434 );
435 };
436}
437
438/**
439 * Create a mock environment detector for testing

Callers 2

createMcpTestHarnessFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected