MCPcopy Index your code
hub / github.com/BlockRunAI/ClawRouter / countMockChatRequests

Function countMockChatRequests

test/test-e2e.ts:426–428  ·  view source on GitHub ↗
(mock: MockUpstream, since = 0)

Source from the content-addressed store, hash-verified

424}
425
426function countMockChatRequests(mock: MockUpstream, since = 0): number {
427 return mock.requests.slice(since).filter((r) => r.path === "/v1/chat/completions").length;
428}
429
430async function runLocalSuite(startProxy: StartProxy): Promise<boolean> {
431 console.log("\n=== Local deterministic e2e (mock upstream) ===\n");

Callers 1

runLocalSuiteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected