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

            Line data    Source code
       1         2356 : let changeCaptureSuppressionDepth = 0
       2              : 
       3           16 : export function beginChangeCaptureSuppression(): () => void {
       4           16 :   changeCaptureSuppressionDepth++
       5           16 :   let active = true
       6           16 :   return () => {
       7           16 :     if (!active) return
       8           16 :     active = false
       9           16 :     changeCaptureSuppressionDepth--
      10              :   }
      11              : }
      12              : 
      13         9758 : export function isChangeCaptureSuppressed(): boolean {
      14         9758 :   return changeCaptureSuppressionDepth > 0
      15              : }
        

Generated by: LCOV version 2.0-1