LCOV - code coverage report
Current view: top level - src/platform/telemetry - initErrorReporter.ts Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 100.0 % 1 1
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1              : import { captureException, isEnabled as isSentryEnabled } from '@sentry/vue'
       2              : 
       3              : import { configureErrorReporter } from '@comfyorg/telemetry/reportError'
       4              : 
       5              : import { isCloud } from '@/platform/distribution/types'
       6              : 
       7              : import { isHostTelemetryEnabled } from './hostTelemetryEnabled'
       8              : 
       9         2356 : configureErrorReporter({
      10              :   captureException,
      11              :   isSentryEnabled,
      12              :   isCloud: () => isCloud,
      13              :   isHostTelemetryEnabled,
      14              :   getDesktopTelemetry: () => window.__comfyDesktop2?.Telemetry
      15              : })
        

Generated by: LCOV version 2.0-1