it('should be called when child fails in componentDidUpdate', () => {
      class ThrowErr extends Component {
        componentDidUpdate () {
          throw new Error('Error in componentDidUpdate!')
        }