LCOV - code coverage report
Current view: top level - packages/design-system/src/components/toast - ToastTitle.vue Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 100.0 % 5 5
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1           16 : <script setup lang="ts">
       2              : import type { ToastTitleProps } from 'reka-ui'
       3              : import { ToastTitle, useForwardProps } from 'reka-ui'
       4              : import type { HTMLAttributes } from 'vue'
       5              : 
       6              : import { cn } from '@comfyorg/tailwind-utils'
       7              : 
       8         2355 : const { class: className, ...restProps } = defineProps<
       9              :   ToastTitleProps & { class?: HTMLAttributes['class'] }
      10              : >()
      11          168 : const forwardedProps = useForwardProps(restProps)
      12          168 : </script>
      13              : 
      14              : <template>
      15         1546 :   <ToastTitle
      16              :     v-bind="forwardedProps"
      17              :     :class="
      18              :       cn('text-sm font-medium wrap-break-word whitespace-pre-line', className)
      19              :     "
      20              :   >
      21              :     <slot />
      22              :   </ToastTitle>
      23              : </template>
        

Generated by: LCOV version 2.0-1