(name: string)
| 1040 | |
| 1041 | const fn = (name: string) => cg.getNodesByKind('function').find((n) => n.name === name)!; |
| 1042 | const instTargets = (name: string) => |
| 1043 | cg |
| 1044 | .getOutgoingEdges(fn(name).id) |
| 1045 | .filter((e) => e.kind === 'instantiates') |
| 1046 | .map((e) => cg.getNode(e.target)!); |
| 1047 | |
| 1048 | // Direct-init (the issue) and brace-init both instantiate, targeting the |
| 1049 | // CLASS node — not the same-named constructor method. |
no test coverage detected