LCOV - code coverage report
Current view: top level - src/platform/auth/session - desktopInstallId.ts Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 0.0 % 4 0
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1              : /**
       2              :  * The per-installation id when the frontend is hosted by Comfy Desktop, else
       3              :  * null.
       4              :  */
       5            0 : export function getDesktopInstallId(): string | null {
       6            0 :   try {
       7            0 :     return window.__comfyDesktop2?.getInstallId?.() ?? null
       8              :   } catch {
       9            0 :     return null
      10              :   }
      11              : }
        

Generated by: LCOV version 2.0-1