| 54 | const handleComponentDidCatch = jest.fn() |
| 55 | const onCaughtError = jest.fn() |
| 56 | class ErrorBoundary extends React.Component { |
| 57 | state = {error: null} |
| 58 | static getDerivedStateFromError(error) { |
| 59 | return {error} |
nothing calls this directly
no outgoing calls
no test coverage detected