text: import React from 'react'
  import renderer from 'react-test-renderer'
  import { StaticRouter } from 'react-router-dom'
  
  import UserCard from '../index'
  
  describe('<UserCard />', () => {
    test('renders', () => {
      const mockData = {
        name: 'Welly',
        phone: '007',
        email: 'test@gmail.com',
        website: 'www.test.com'
      }
      const tree = renderer.create(
        <StaticRouter location={''} context={{}}>
          <UserCard info={mockData} />
        </StaticRouter>
      ).toJSON()
  
      expect(tree).toMatchSnapshot()
    })
  })
  