import React from 'react'
import { shallow } from 'enzyme'

import ExternalLink from '.'

const defaultProps = () => ({
  children: 'Take me to metamask',
  href: 'https://metamask.io'
})

describe('ExternalLink', () => {
  it('should match snapshot', () => {
    expect(shallow(<ExternalLink {...defaultProps()} />))
  })
})
