import React from 'react'; import { render } from 'enzyme'; import { Col, Row } from '..'; describe('Grid', () => { it('should render Col', () => { const wrapper = render( ); expect(wrapper).toMatchSnapshot(); }); it('should render Row', () => { const wrapper = render( ); expect(wrapper).toMatchSnapshot(); }); it('renders wrapped Col correctly', () => { const MyCol = () => ; const wrapper = render(
); expect(wrapper).toMatchSnapshot(); }); });