(file: string)
| 220 | |
| 221 | /** `qualifiedName (file)` of every call the file's symbols make. */ |
| 222 | const callsFrom = (file: string): string[] => { |
| 223 | const ids = cg.getNodesInFile(file).map((n) => n.id); |
| 224 | return cg.getOutgoingEdgesFrom(ids).filter((e) => e.kind === 'calls').map((e) => { |
| 225 | const target = cg.getNode(e.target)!; |
| 226 | return `${target.qualifiedName} (${target.filePath})`; |
| 227 | }); |
| 228 | }; |
| 229 | |
| 230 | describe('a C/C++ test links what its translation unit declares', () => { |
| 231 | it('passes over a test suite it does not include for the declaration it does', () => { |
no test coverage detected