MCPcopy Create free account
hub / github.com/tiann/hapi / resolveSecond

Function resolveSecond

cli/src/modules/common/opencodeModels.test.ts:139–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137
138 it('coalesces concurrent probes for the same cwd into a single transport spawn', async () => {
139 let resolveSecond: (value: unknown) => void = () => undefined
140 sendRequestMock
141 .mockResolvedValueOnce({ protocolVersion: 1 })
142 .mockImplementationOnce(() => new Promise((res) => { resolveSecond = res }))

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected