(auditOutputs: AuditOutputs)
| 52 | } |
| 53 | |
| 54 | function logAuditOutputs(auditOutputs: AuditOutputs): void { |
| 55 | logger.info( |
| 56 | `Transformed LCOV reports to ${pluralizeToken('audit output', auditOutputs.length)}`, |
| 57 | ); |
| 58 | logger.info( |
| 59 | formatAsciiTable( |
| 60 | { |
| 61 | columns: ['left', 'right'], |
| 62 | rows: auditOutputs.map(audit => [ |
| 63 | `• ${slugToTitle(audit.slug)}`, |
| 64 | `${audit.value.toFixed(2)}%`, |
| 65 | ]), |
| 66 | }, |
| 67 | { borderless: true }, |
| 68 | ), |
| 69 | ); |
| 70 | } |
no test coverage detected