LCOV - code coverage report
Current view: top level - src/extensions/core/load3d - lightInfo.ts Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 50.0 % 4 2
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1              : import type { ComfyExtension } from '@/types/comfy'
       2              : 
       3           24 : export const lightInfoExtension: ComfyExtension = {
       4              :   name: 'Comfy.CreateLightInfo',
       5              : 
       6              :   nodeCreated(node) {
       7           26 :     if (node.constructor.comfyClass !== 'CreateLightInfo') return
       8              : 
       9            0 :     const [oldWidth, oldHeight] = node.size
      10            0 :     node.setSize([Math.max(oldWidth, 360), Math.max(oldHeight, 580)])
      11              :   }
      12              : }
        

Generated by: LCOV version 2.0-1