MCPcopy
hub / github.com/foambubble/foam / TelemetryReporter

Class TelemetryReporter

packages/foam-vscode/src/test/extension-telemetry-mock.ts:5–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3 * All methods are no-ops; telemetry is not sent in tests.
4 */
5export class TelemetryReporter {
6 constructor(
7 _connectionString: string,
8 _replacementOptions?: unknown,
9 _initializationOptions?: unknown,
10 _customFetcher?: unknown,
11 _appInsightsOptions?: unknown
12 ) {}
13 sendTelemetryEvent(_name: string, _props?: Record<string, string>): void {}
14 sendTelemetryErrorEvent(_name: string, _props?: Record<string, string>): void {}
15 dispose(): Promise<void> { return Promise.resolve(); }
16}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected