text: import React from 'react';
  import { expect } from 'chai';
  import { shallow, configure } from 'enzyme';
  import Adapter from 'enzyme-adapter-react-16';
  configure({ adapter: new Adapter() });
  
  import Hero from './Hero';
  
  describe('Hero', () => {
    const props = {
      'lang': { id: 'en-AU', name: 'English(AU)' },
      'title': 'Test Service',
      'hero640': './img/test-640w.jpg',
      'hero960': './img/test-960w.jpg',
      'hero1280': './img/test-1280w.jpg',
      'hero1920': './img/test-1920w.jpg',
      'hero2560': './img/test-2560w.jpg',
      'hero3840': './img/test-3840w.jpg'
    };
  
    let wrapper;
  
    beforeEach(() => {
      wrapper = shallow(<Hero {...props}/>);
    });
  
    it("should be rendered", () => {
      expect(wrapper.find('.hero')).to.have.length(1);
    });
    it("should display image", () => {
      expect(wrapper.find('.hero__image')).to.have.length(1);
    });
    it("should display title", () => {
      expect(wrapper.find('.hero__title').text()).to.equal(props.title);
    });
  });
  