text: /* global describe beforeEach it */
  
  import {expect} from 'chai'
  import React from 'react'
  import enzyme, {shallow} from 'enzyme'
  import Adapter from 'enzyme-adapter-react-16'
  import {UserHome} from './userHome'
  
  const adapter = new Adapter()
  enzyme.configure({adapter})
  
  describe('<UserHome /> component', () => {
    let userHome
  
    beforeEach(() => {
      userHome = shallow(<UserHome email="cody@email.com" />)
    })
  
    it('renders the email in an h2', () => {
      expect(userHome.find('h2').text()).to.be.equal('Welcome, cody@email.com!')
    })
  })
  