(id, label, status, detail, evidence = [])
| 56 | } |
| 57 | |
| 58 | function criterion(id, label, status, detail, evidence = []) { |
| 59 | return { id, label, status, detail, evidence }; |
| 60 | } |
| 61 | |
| 62 | function statusFromCheck(check, options = {}) { |
| 63 | if (options.acceptPartial && check.status === 'partial') return 'pass'; |