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

Function mockDeviceListJson

src/cli/commands/__tests__/setup.test.ts:15–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13const configPath = path.join(cwd, '.xcodebuildmcp', 'config.yaml');
14
15function mockDeviceListJson(): string {
16 return JSON.stringify({
17 result: {
18 devices: [
19 {
20 identifier: 'DEVICE-1',
21 visibilityClass: 'Default',
22 connectionProperties: {
23 pairingState: 'paired',
24 tunnelState: 'connected',
25 },
26 deviceProperties: {
27 name: 'Cam iPhone',
28 platformIdentifier: 'com.apple.platform.iphoneos',
29 },
30 },
31 ],
32 },
33 });
34}
35
36function createSetupFs(opts?: {
37 storedConfig?: string;

Callers 1

executorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected