text: import React from 'react'
  import renderer from 'react-test-renderer'
  import { DocLinkBox } from './index'
  
  describe('<DocLinkBox />', () => {
    let component
  
    describe('by default', () => {
      beforeEach(() => {
        component = renderer.create(<DocLinkBox />).toJSON()
      })
  
      it('matches with snapshot', () => {
        expect(component).toMatchSnapshot()
      })
    })
  
    describe('with some props', () => {
      beforeEach(() => {
        component = renderer
          .create(
            <DocLinkBox href="#foobar" isExternal title="title" text="text" />,
          )
          .toJSON()
      })
  
      it('matches with snapshot', () => {
        expect(component).toMatchSnapshot()
      })
    })
  })
  