Function
ref
(over: Partial<WireNodeRef> = {})
Source from the content-addressed store, hash-verified
| 37 | /* ------------------------------------------------------------- fixtures -- */ |
| 38 | |
| 39 | function ref(over: Partial<WireNodeRef> = {}): WireNodeRef { |
| 40 | return { |
| 41 | id: 'function:x', |
| 42 | name: 'x', |
| 43 | kind: 'function', |
| 44 | qualifiedName: 'x', |
| 45 | file: 'src/x.ts', |
| 46 | line: 1, |
| 47 | endLine: 2, |
| 48 | language: 'typescript', |
| 49 | signature: null, |
| 50 | exported: true, |
| 51 | generated: false, |
| 52 | test: false, |
| 53 | ...over, |
| 54 | } as WireNodeRef; |
| 55 | } |
| 56 | |
| 57 | function route(over: Partial<WireEntryRoute> = {}): WireEntryRoute { |
| 58 | return { |
Tested by
no test coverage detected