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

Function recordingTelemetry

packages/server/test/ws-handshake.e2e.test.ts:36–45  ·  view source on GitHub ↗
(records: TelemetryRecord[])

Source from the content-addressed store, hash-verified

34}
35
36function recordingTelemetry(records: TelemetryRecord[]): TelemetryClient {
37 const client: TelemetryClient = {
38 track: (event, properties) => {
39 records.push({ event, properties });
40 },
41 withContext: () => client,
42 setContext: () => {},
43 };
44 return client;
45}
46
47async function waitForEvent(
48 records: readonly TelemetryRecord[],

Callers 1

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected