(name: string, file = 'src/a.tsx', language: WireNodeRef['language'] = 'tsx')
| 9 | import type { WireNodeRef, WireStep, WireStepLink, WireStepSite, WireStepsPayload } from '../ui/src/lib/wire'; |
| 10 | |
| 11 | function ref(name: string, file = 'src/a.tsx', language: WireNodeRef['language'] = 'tsx'): WireNodeRef { |
| 12 | return { id: `function:${name}`, kind: 'function', name, qualifiedName: name, file, line: 1, endLine: 9, language, test: false }; |
| 13 | } |
| 14 | |
| 15 | function step(label: string, kind: WireStep['kind'], depth: number, extra: Partial<WireStep> = {}): WireStep { |
| 16 | const node = kind === 'effect' ? null : ref(label, extra.node?.file ?? 'src/a.tsx'); |
no outgoing calls
no test coverage detected