text: // @flow
  import React from 'react';
  import { mount } from 'enzyme';
  import Avatar from '../Avatar';
  
  test('Avatar handles Image error', () => {
    const wrapper = mount(<Avatar name="Name" src="example.com" />);
    wrapper.find('img').simulate('error');
    expect(wrapper.state('isImageLoaded')).toBe(false);
  });
  