`kind qualified-name` of every non-structural edge out of a file.
(file: string)
| 95 | |
| 96 | /** `kind qualified-name` of every non-structural edge out of a file. */ |
| 97 | function edgesFrom(file: string): string[] { |
| 98 | const ids = cg.getNodesInFile(file).map((n) => n.id); |
| 99 | return cg |
| 100 | .getOutgoingEdgesFrom(ids) |
| 101 | .filter((e) => e.kind !== 'contains' && e.kind !== 'imports') |
| 102 | .map((e) => `${e.kind} ${cg.getNode(e.target)!.qualifiedName}`) |
| 103 | .sort(); |
| 104 | } |
| 105 | |
| 106 | describe('Java single-type and static imports from outside the project', () => { |
| 107 | it('own their names; the project’s own imports still resolve', () => { |
no test coverage detected