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

            Line data    Source code
       1              : import type { AutoTopUpCardAction } from '@comfyorg/account-core/billing'
       2              : 
       3              : /** Platform Billing for an auto top-up action. Turn on lands with the setup dialog open. */
       4            4 : export function platformAutoTopUpPath(action: AutoTopUpCardAction) {
       5            4 :   return action === 'turn_on'
       6              :     ? '/profile/billing?auto_top_up=setup'
       7              :     : '/profile/billing'
       8              : }
        

Generated by: LCOV version 2.0-1