UNPKG

@swrve/core

Version:

Core set of Swrve UI Components

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