()
| 533 | return ( |
| 534 | <ContextConsumer> |
| 535 | {value => <span prop={'Result: ' + value} />} |
| 536 | </ContextConsumer> |
| 537 | ); |
| 538 | } |
| 539 | |
| 540 | function BadRender() { |
| 541 | throw new Error('Bad render'); |
| 542 | } |
| 543 | |
| 544 | class ErrorBoundary extends React.Component { |
| 545 | state = {error: null}; |
no outgoing calls
no test coverage detected