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

            Line data    Source code
       1              : /** Stable RUM action names for billing CTAs; frustration monitors match the `billing.` prefix. */
       2         2356 : export const BILLING_ACTION_NAME = {
       3              :   addCreditsPopover: 'billing.add_credits.popover',
       4              :   addCreditsTile: 'billing.add_credits.credits_tile',
       5              :   addCreditsStatusBanner: 'billing.add_credits.status_banner',
       6              :   topUpPrimary: 'billing.top_up.primary',
       7              :   managePlanPopover: 'billing.manage_plan.popover',
       8              :   upgradePlanPanel: 'billing.upgrade_plan.panel',
       9              :   subscribeToRun: 'billing.subscribe.run_button',
      10              :   subscribeTopbar: 'billing.subscribe.topbar',
      11              :   subscribeTeamPlan: 'billing.plan_cta.team'
      12              : } as const
      13              : 
      14            0 : export function planCtaActionName(tierKey: string): string {
      15            0 :   return `billing.plan_cta.${tierKey}`
      16              : }
        

Generated by: LCOV version 2.0-1