(projectRoot, reports, options = {})
| 140 | } |
| 141 | |
| 142 | function annotateCurrentHeads(projectRoot, reports, options = {}) { |
| 143 | return reports.map((report) => ({ |
| 144 | ...report, |
| 145 | currentHead: currentBranchHead(projectRoot, report.branch, options), |
| 146 | })); |
| 147 | } |
| 148 | |
| 149 | function orderReports(projectRoot, reports, options = {}) { |
| 150 | const isAncestor = options.isAncestor || ((ancestor, descendant) => defaultIsAncestor(projectRoot, ancestor, descendant)); |
no test coverage detected