LCOV - code coverage report
Current view: top level - src/stores - helpCenterStore.ts Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 88.9 % 9 8
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1              : import { defineStore } from 'pinia'
       2              : import { ref } from 'vue'
       3              : 
       4         2355 : export const useHelpCenterStore = defineStore('helpCenter', () => {
       5         1975 :   const isVisible = ref(false)
       6              : 
       7         1975 :   const toggle = () => {
       8           21 :     isVisible.value = !isVisible.value
       9              :   }
      10              : 
      11         1975 :   const show = () => {
      12            0 :     isVisible.value = true
      13              :   }
      14              : 
      15         1975 :   const hide = () => {
      16           10 :     isVisible.value = false
      17              :   }
      18              : 
      19         1975 :   return {
      20              :     isVisible,
      21              :     toggle,
      22              :     show,
      23              :     hide
      24              :   }
      25              : })
        

Generated by: LCOV version 2.0-1