MCPcopy Index your code
hub / github.com/callstack/agent-device / respondToHealthcheck

Function respondToHealthcheck

src/utils/__tests__/daemon-client.test.ts:127–131  ·  view source on GitHub ↗
(options: Record<string, any>, res: MockHttpResponse)

Source from the content-addressed store, hash-verified

125}
126
127function respondToHealthcheck(options: Record<string, any>, res: MockHttpResponse): boolean {
128 if (options.method !== 'GET') return false;
129 res.emit('end');
130 return true;
131}
132
133function resolveCurrentDaemonCodeSignature(): string {
134 const root = findProjectRoot();

Callers 1

Calls 1

emitMethod · 0.80

Tested by

no test coverage detected