describe('when type is link', () => {
      beforeEach(() => {
        wrapper.setProps({
          type: 'link'
        })