UNPKG

@muvehealth/fixins

Version:

Component library for Muvehealth

18 lines (16 loc) 430 B
/* eslint-disable function-paren-newline, comma-dangle */ import React from 'react' import renderWithTheme from '../../testHelper' import Checkbox from '../Checkbox' describe('Checkbox', () => { it('renders a Checkbox', () => { const tree = renderWithTheme( <Checkbox input={{ name: 'test-checkbox' }} label="Checkbox" type="checkbox" /> ) expect(tree).toMatchSnapshot() }) })