MCPcopy
hub / github.com/anomalyco/opencode / MockState

Interface MockState

packages/core/test/models.test.ts:72–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72interface MockState {
73 body: string
74 status: number
75 calls: Array<{ url: string; userAgent: string | null }>
76}
77
78const makeMockClient = (state: Ref.Ref<MockState>) =>
79 HttpClient.make((request) =>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected