One call site, as the provider reports it: call line here, declaration there.
(name: string, line: number)
| 63 | |
| 64 | /** One call site, as the provider reports it: call line here, declaration there. */ |
| 65 | function callTo(name: string, line: number): CallSite { |
| 66 | const where = DECLARED[name]; |
| 67 | return { |
| 68 | targetName: name, |
| 69 | targetQualifiedName: qualified(name), |
| 70 | targetFile: where.file, |
| 71 | line, |
| 72 | targetLine: where.line, |
| 73 | }; |
| 74 | } |
| 75 | |
| 76 | /** The fixture's own shape: a route registration reaching a service and a repository. */ |
| 77 | const USER_GRAPH: Record<string, CallSite[]> = { |
no test coverage detected