old_contents: import { expect } from 'chai';
  
  import ProfilePhoto from '../../components/ProfilePhoto';
  
  
  describe('ProfilePhoto component', () => {
    it('should have a default image', () => {
      const element = ProfilePhoto({});
      expect(element.props.style.backgroundImage).to.be.equal('url(/images/default_avatar.svg)');
    });
  
    it('should render an image if provided', () => {
      const url = 'image.jpg';
      const element = ProfilePhoto({ url });
      expect(element.props.style.backgroundImage).to.be.equal('url('+url+')');
    });
  
  });
  
new_contents: import { expect } from 'chai';
  
  import ProfilePhoto from '../../components/ProfilePhoto';
  
  
  describe('ProfilePhoto component', () => {
    it('should have a default image', () => {
      const element = ProfilePhoto({});
      expect(element.props.style.backgroundImage).to.be.equal('url(/static/images/default_avatar.svg)');
    });
  
    it('should render an image if provided', () => {
      const url = 'image.jpg';
      const element = ProfilePhoto({ url });
      expect(element.props.style.backgroundImage).to.be.equal('url('+url+')');
    });
  
  });
  
subject: fix profilephoto test