MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / proxy.test.ts

File proxy.test.ts

services/kiloclaw/controller/src/proxy.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { EventEmitter } from 'node:events';
2import http from 'node:http';
3import { PassThrough, Readable, type Duplex } from 'node:stream';
4import { describe, it, expect, vi, afterEach } from 'vitest';

Callers

nothing calls this directly

Calls 12

createHttpProxyFunction · 0.90
handleWebSocketUpgradeFunction · 0.90
mockUpstreamFunction · 0.85
mockUpstreamErrorFunction · 0.85
createIncomingMessageFunction · 0.85
joinMethod · 0.80
emitMethod · 0.80
createMockSupervisorFunction · 0.70
jsonMethod · 0.65
toStringMethod · 0.65
getMethod · 0.65
requestMethod · 0.45

Tested by

no test coverage detected