MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / responses

Function responses

packages/wl-sdk/src/client.test.ts:74–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72 // Two mock fetches with identical scripted responses; one driven
73 // by the class, one by the free function.
74 const responses = (): MockResponse[] => [
75 readWantedRow(null),
76 ...forkCurrentResponses(),
77 syncWriteOk(),
78 readWantedRow(fixtureWantedRow({ id: 'w-1', status: 'open' })),
79 readWantedRow(fixtureWantedRow({ id: 'w-1', status: 'claimed', claimed_by: 'alice' })),
80 ];
81
82 const { fetch: classFetch, calls: classCalls } = makeFetch(responses());
83 const c = new WlClient(makeConfig({ fetch: classFetch }));

Callers 1

client.test.tsFile · 0.85

Calls 4

readWantedRowFunction · 0.90
forkCurrentResponsesFunction · 0.90
syncWriteOkFunction · 0.90
fixtureWantedRowFunction · 0.90

Tested by

no test coverage detected