UNPKG

@swrve/core

Version:

Core set of Swrve UI Components

16 lines (13 loc) 439 B
import React from 'react' import { render } from '@testing-library/react' import HeadCell from '../headcell' describe('<HeadCell/>', () => { it('should render', () => { const { container } = render(<HeadCell />) expect(container).toMatchSnapshot() }) it('should render content correctly', () => { const { container } = render(<HeadCell>{'I am some content!'}</HeadCell>) expect(container).toMatchSnapshot() }) })