import React from 'react'; import { mount } from 'enzyme'; import Link from './Link'; describe(' component', () => { const props = { to: 'https://github.com/verdaccio/ui', }; test('should render the component in default state', () => { const wrapper = mount(); expect(wrapper.html()).toMatchSnapshot(); }); });