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

Function createEntry

src/cli/__tests__/daemon-control.test.ts:25–38  ·  view source on GitHub ↗
(overrides: Partial<DaemonRegistryEntry> = {})

Source from the content-addressed store, hash-verified

23}
24
25function createEntry(overrides: Partial<DaemonRegistryEntry> = {}): DaemonRegistryEntry {
26 const workspaceKey = overrides.workspaceKey ?? 'workspace-a';
27 return {
28 workspaceKey,
29 workspaceRoot: `/workspaces/${workspaceKey}`,
30 socketPath: path.join(daemonDirForWorkspaceKey(workspaceKey), 'd.sock'),
31 pid: daemonPid,
32 startedAt: '2026-05-05T00:00:00.000Z',
33 enabledWorkflows: ['build'],
34 version: '1.0.0',
35 instanceId: 'daemon-instance-a',
36 ...overrides,
37 };
38}
39
40describe('daemon control', () => {
41 let appDir: string;

Callers 1

Calls 1

daemonDirForWorkspaceKeyFunction · 0.90

Tested by

no test coverage detected