(items, emptyLabel = "None.")
| 14 | } |
| 15 | |
| 16 | function renderOptionalList(items, emptyLabel = "None.") { |
| 17 | return renderList(Array.isArray(items) && items.length > 0 ? items : [emptyLabel]); |
| 18 | } |
| 19 | |
| 20 | function renderChecks(checks) { |
| 21 | if (checks.length === 0) { |
no test coverage detected