LCOV - code coverage report
Current view: top level - src/platform/assets/components - AssetBadgeGroup.vue Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 50.0 % 2 1
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1              : <template>
       2         2355 :   <div class="absolute bottom-2 left-2 flex flex-wrap gap-1 select-none">
       3            0 :     <span
       4              :       v-for="badge in badges"
       5              :       :key="badge.label"
       6              :       :class="
       7              :         cn(
       8              :           'rounded-sm bg-muted px-2 py-1 text-xs font-bold tracking-wider break-all text-foreground uppercase'
       9              :         )
      10              :       "
      11              :     >
      12              :       {{ badge.label }}
      13              :     </span>
      14              :   </div>
      15              : </template>
      16              : 
      17              : <script setup lang="ts">
      18              : import { cn } from '@comfyorg/tailwind-utils'
      19              : 
      20              : type AssetBadge = {
      21              :   label: string
      22              :   type: 'type' | 'base' | 'size'
      23              : }
      24              : 
      25              : defineProps<{
      26              :   badges: AssetBadge[]
      27              : }>()
      28              : </script>
        

Generated by: LCOV version 2.0-1