import renderer from 'react-test-renderer'; import InternalLink from './InternalLink'; import Pog from '../Pog'; import Text from '../Text'; it('renders IconButton', () => expect( renderer .create( , ) .toJSON(), ).toMatchSnapshot()); it('renders TapArea', () => expect( renderer .create( InternalLink , ) .toJSON(), ).toMatchSnapshot()); it('renders inline Button', () => expect( renderer .create( InternalLink , ) .toJSON(), ).toMatchSnapshot()); it('renders full-width Button', () => expect( renderer .create( InternalLink , ) .toJSON(), ).toMatchSnapshot()); it('renders Button & target null', () => expect( renderer .create( InternalLink , ) .toJSON(), ).toMatchSnapshot()); it('renders Button & target self', () => expect( renderer .create( InternalLink , ) .toJSON(), ).toMatchSnapshot()); it('renders Button & target blank', () => expect( renderer .create( InternalLink , ) .toJSON(), ).toMatchSnapshot()); it('renders Button with nofollow', () => expect( renderer .create( InternalLink , ) .toJSON(), ).toMatchSnapshot()); it('renders with download true', () => expect( renderer .create( InternalLink , ) .toJSON(), ).toMatchSnapshot()); it('renders with download string', () => expect( renderer .create( InternalLink , ) .toJSON(), ).toMatchSnapshot()); it('renders Button with onClick', () => expect( renderer .create( {}} tabIndex={0} wrappedComponent="button" > InternalLink , ) .toJSON(), ).toMatchSnapshot()); it('renders with a title prop', () => expect( renderer .create( InternalLink , ) .toJSON(), ).toMatchSnapshot());