(report: Report)
| 145 | } |
| 146 | |
| 147 | function createIssuesSortCompareFn(report: Report): IssueCompareFn { |
| 148 | return (a, b) => |
| 149 | getAuditImpactValue(b, report) - getAuditImpactValue(a, report); |
| 150 | } |
| 151 | |
| 152 | export function getAuditImpactValue( |
| 153 | { audit, plugin }: IssueContext, |
no test coverage detected