(calls: WireFileCall[], outline: WireOutlineEntry[] = [])
| 97 | } |
| 98 | |
| 99 | function payloadWith(calls: WireFileCall[], outline: WireOutlineEntry[] = []): WireFileCodePayload { |
| 100 | return { |
| 101 | file: { |
| 102 | path: 'src/a.ts', |
| 103 | language: 'typescript', |
| 104 | size: 100, |
| 105 | indexedAt: 0, |
| 106 | contentHash: 'h', |
| 107 | generated: false, |
| 108 | test: false, |
| 109 | errors: [], |
| 110 | id: 'file:src/a.ts', |
| 111 | totalLines: 500, |
| 112 | }, |
| 113 | drift: false, |
| 114 | outline: { total: outline.length, shown: outline.length, truncated: false, items: outline }, |
| 115 | calls: { total: calls.length, shown: calls.length, truncated: false, items: calls }, |
| 116 | outside: { total: 0, shown: 0, truncated: false, items: [] }, |
| 117 | intraFileCalls: 0, |
| 118 | timing: { elapsedMs: 0 }, |
| 119 | }; |
| 120 | } |
| 121 | |
| 122 | /* ---------------------------------------------------------------- pixels -- */ |
| 123 |
no outgoing calls
no test coverage detected