(over: Partial<WireSymbolPayload> = {})
| 63 | } |
| 64 | |
| 65 | function payload(over: Partial<WireSymbolPayload> = {}): WireSymbolPayload { |
| 66 | return { |
| 67 | node: { ...nodeRef(), startColumn: 2, endColumn: 3, lines: 11 }, |
| 68 | ancestors: [], |
| 69 | members: { total: 0, shown: 0, truncated: false, items: [] }, |
| 70 | incoming: { total: 0, shown: 0, truncated: false, items: [] }, |
| 71 | outgoing: { total: 0, shown: 0, truncated: false, items: [] }, |
| 72 | typesUsed: [], |
| 73 | counts: { callers: 0, callees: 0, typesUsed: 0, fanIn: 0, fanOut: 0, members: 0, hub: false }, |
| 74 | tests: { reached: false, hops: null, fileCount: 0, files: [], exhaustive: true, hopsSearched: 3 }, |
| 75 | outsideIndex: { total: 0, byKind: {}, samples: [] }, |
| 76 | blast: null, |
| 77 | drift: false, |
| 78 | ...over, |
| 79 | } as WireSymbolPayload; |
| 80 | } |
| 81 | |
| 82 | const body = (count: number, from = 1): string[] => |
| 83 | Array.from({ length: count }, (_, i) => `line ${from + i}`); |
no test coverage detected