MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / constructor

Method constructor

packages/server-e2e/test/report.test.ts:469–473  ·  view source on GitHub ↗
(readonly url: string)

Source from the content-addressed store, hash-verified

467 readonly sent: string[] = [];
468
469 constructor(readonly url: string) {
470 super();
471 FakeWebSocket.instances.push(this);
472 queueMicrotask(() => this.emit('open'));
473 }
474
475 send(data: string): void {
476 this.sent.push(data);

Callers

nothing calls this directly

Calls 2

pushMethod · 0.45
emitMethod · 0.45

Tested by

no test coverage detected