import * as React from 'react';
import { shallow } from 'enzyme';
import UnstyledLink from '../UnstyledLink';
describe('', () => {
describe('external', () => {
it('adds the correct attributes', () => {
const anchorElement = shallow().find('a');
expect(anchorElement.prop('target')).toBe('_blank');
expect(anchorElement.prop('rel')).toBe('noopener noreferrer');
});
});
});