(a: GraphNode, b: GraphNode)
| 102 | const compare = (a: string, b: string) => a < b ? -1 : a > b ? 1 : 0; |
| 103 | const identity = (node: GraphNode) => `${node.label}:${node.qualified_name || `#${node.id}`}@${node.file_path ?? ''}`; |
| 104 | const nodeOrder = (a: GraphNode, b: GraphNode) => compare(identity(a), identity(b)); |
| 105 | const symbolId = (node: GraphNode) => `symbol:${identity(node)}`; |
| 106 | /** |
| 107 | * Conventional test locations: a tests, __tests__ or spec directory, a test |
no test coverage detected