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

Function mockExecutor

src/utils/__tests__/infer-platform.test.ts:32–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 });
31
32 const mockExecutor: CommandExecutor = async () =>
33 createMockCommandResponse({
34 success: true,
35 output: JSON.stringify({
36 devices: {
37 'com.apple.CoreSimulator.SimRuntime.tvOS-18-0': [
38 {
39 udid: 'SIM-UUID',
40 name: 'Apple TV',
41 isAvailable: true,
42 },
43 ],
44 },
45 }),
46 });
47
48 const result = await inferPlatform({ simulatorId: 'SIM-UUID' }, mockExecutor);
49

Callers

nothing calls this directly

Calls 2

pushMethod · 0.80

Tested by

no test coverage detected