(over: Partial<WireNodeRef> & { id: string; name: string })
| 49 | /* ------------------------------------------------------------- fixtures -- */ |
| 50 | |
| 51 | function node(over: Partial<WireNodeRef> & { id: string; name: string }): WireNodeRef { |
| 52 | return { |
| 53 | kind: 'function', |
| 54 | qualifiedName: over.name, |
| 55 | file: 'src/a.ts', |
| 56 | line: 1, |
| 57 | endLine: 1, |
| 58 | language: 'typescript', |
| 59 | test: false, |
| 60 | ...over, |
| 61 | } as WireNodeRef; |
| 62 | } |
| 63 | |
| 64 | function relation(target: WireNodeRef, lines: number[], over: Partial<WireRelation> = {}): WireRelation { |
| 65 | return { |
no outgoing calls
no test coverage detected