LCOV - code coverage report
Current view: top level - src/components/sidebar/tabs - SidebarTabCloseButton.vue 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              : <template>
       2          299 :   <Button
       3              :     :tooltip="$t('sideToolbar.closeSidebar')"
       4              :     tooltip-side="bottom"
       5              :     variant="muted-textonly"
       6              :     size="icon"
       7              :     class="shrink-0"
       8              :     data-testid="sidebar-close-button"
       9              :     :aria-label="$t('sideToolbar.closeSidebar')"
      10              :     @click="sidebarTabStore.activeSidebarTabId = null"
      11              :   >
      12              :     <i class="icon-[lucide--x]" />
      13              :   </Button>
      14              : </template>
      15              : 
      16              : <script setup lang="ts">
      17              : import Button from '@comfyorg/design-system/button/Button'
      18              : import { useSidebarTabStore } from '@/stores/workspace/sidebarTabStore'
      19              : 
      20          297 : const sidebarTabStore = useSidebarTabStore()
      21              : </script>
        

Generated by: LCOV version 2.0-1