MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / getPrivate

Function getPrivate

apps/cli/src/agent/__tests__/extension-host.test.ts:55–57  ·  view source on GitHub ↗

* Helper to access private members for testing

(host: ExtensionHost, key: string)

Source from the content-addressed store, hash-verified

53 * Helper to access private members for testing
54 */
55function getPrivate<T>(host: ExtensionHost, key: string): T {
56 return (host as unknown as PrivateHost)[key] as T
57}
58
59/**
60 * Helper to set private members for testing

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected