UNPKG

@swrve/core

Version:

Core set of Swrve UI Components

21 lines (18 loc) 479 B
import React from 'react' import { render } from '@testing-library/react' import ColGroup from '../colgroup' import Col from '../col' describe('<ColGroup />', () => { it('should render', () => { const { container } = render(<ColGroup />) expect(container).toMatchSnapshot() }) it('should render children correctly', () => { const { container } = render( <ColGroup> <Col /> </ColGroup> ) expect(container).toMatchSnapshot() }) })