(check, options = {})
| 60 | } |
| 61 | |
| 62 | function statusFromCheck(check, options = {}) { |
| 63 | if (options.acceptPartial && check.status === 'partial') return 'pass'; |
| 64 | return check.status === 'pass' ? 'pass' : check.status; |
| 65 | } |
| 66 | |
| 67 | function buildCriteria(proof) { |
| 68 | const setup = checkById(proof, 'setup'); |