(over: Partial<WireSymbolPayload['node']> = {})
| 32 | /* ------------------------------------------------------------- fixtures -- */ |
| 33 | |
| 34 | function nodeRef(over: Partial<WireSymbolPayload['node']> = {}): any { |
| 35 | return { |
| 36 | id: 'method:a', |
| 37 | kind: 'method', |
| 38 | name: 'load', |
| 39 | qualifiedName: 'Service::load', |
| 40 | file: 'src/service.ts', |
| 41 | line: 10, |
| 42 | endLine: 20, |
| 43 | language: 'typescript', |
| 44 | test: false, |
| 45 | ...over, |
| 46 | }; |
| 47 | } |
| 48 | |
| 49 | function relation(over: Partial<WireRelation> & { node?: any } = {}): WireRelation { |
| 50 | const { node, ...rest } = over; |
no outgoing calls
no test coverage detected