MCPcopy
hub / github.com/FlowiseAI/Flowise / telemetry.test.ts

File telemetry.test.ts

packages/server/src/utils/telemetry.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, beforeEach, describe, expect, it, jest } from '@jest/globals'
2
3// ---------- mocks (must be hoisted) ----------
4jest.mock('geoip-lite', () => ({ lookup: jest.fn() }))

Callers

nothing calls this directly

Calls 3

emitEventFunction · 0.90
sendTelemetryMethod · 0.80
flushMethod · 0.80

Tested by

no test coverage detected