import React from 'react'; import { create } from 'react-test-renderer'; import { RadioGroup } from '..'; import { Radio } from '../../radio'; const children = [ , , , ]; test('Default', () => { const tree = create( ); expect(tree.toJSON()).toMatchSnapshot(); }); test('Legend', () => { const tree = create( ); expect(tree.toJSON()).toMatchSnapshot(); }); test('Legend Object', () => { const tree = create( ); expect(tree.toJSON()).toMatchSnapshot(); });