UNPKG

@muvehealth/fixins

Version:

Component library for Muvehealth

17 lines (15 loc) 422 B
import React from 'react' import renderWithTheme from '../../testHelper' import RemoveButton from '../RemoveButton' describe('<RemoveButton />', () => { it('shows the correct snapshot tree for the <RemoveButton> block', () => { const tree = renderWithTheme( <RemoveButton isEditing={false} name="foo" handleOnClick={() => {}} />, ) expect(tree).toMatchSnapshot() }) })