(to: Node)
| 213 | .map((e) => graph.getNode(e.target)!.qualifiedName))] |
| 214 | .sort(); |
| 215 | const sources = (to: Node): string[] => |
| 216 | [...new Set(graph |
| 217 | .getIncomingEdgesTo([to.id]) |
| 218 | .filter((e) => e.kind !== 'contains') |
| 219 | .map((e) => `${e.kind} ${graph.getNode(e.source)!.qualifiedName}`))] |
| 220 | .sort(); |
| 221 | |
| 222 | // Named `const` constructors and redirecting factories are methods named |
| 223 | // by the constructor, returning their class; the unnamed ones stay |
no test coverage detected