LCOV - code coverage report
Current view: top level - src/platform/workflowErrors/nodeReplacement/components - SwapNodesCard.vue Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 100.0 % 3 3
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1              : <template>
       2           19 :   <div class="px-3">
       3           25 :     <SwapNodeGroupRow
       4              :       v-for="group in swapNodeGroups"
       5              :       :key="group.type"
       6              :       :group="group"
       7              :       :highlighted="
       8              :         someNodeTypeInSelection(group.nodeTypes, highlightedNodeIds)
       9              :       "
      10              :       @locate-node="emit('locate-node', $event)"
      11              :       @replace="emit('replace', $event)"
      12              :     />
      13              :   </div>
      14              : </template>
      15              : 
      16              : <script setup lang="ts">
      17              : import { someNodeTypeInSelection } from '@/platform/workflowErrors/panel/selectionEmphasis'
      18              : import type { SwapNodeGroup } from '@/platform/workflowErrors/panel/useErrorGroups'
      19              : import SwapNodeGroupRow from '@/platform/workflowErrors/nodeReplacement/components/SwapNodeGroupRow.vue'
      20              : 
      21              : const { swapNodeGroups } = defineProps<{
      22              :   swapNodeGroups: SwapNodeGroup[]
      23              :   /** Execution node ids to emphasize (current canvas selection). */
      24              :   highlightedNodeIds?: Set<string>
      25              : }>()
      26              : 
      27           19 : const emit = defineEmits<{
      28              :   'locate-node': [nodeId: string]
      29              :   replace: [group: SwapNodeGroup]
      30              : }>()
      31              : </script>
        

Generated by: LCOV version 2.0-1