(items, predicate)
| 55 | } |
| 56 | |
| 57 | function countByStatus(items, predicate) { |
| 58 | return (items || []).filter(predicate).length; |
| 59 | } |
| 60 | |
| 61 | function statusForDecision(decision) { |
| 62 | if (decision.outcome === 'idle') return 'idle'; |
no outgoing calls
no test coverage detected