Enzyme, How to access a component passed in props
Well, I just found a solution:
expect(wrapper.find('[name="formControl"]').prop('control').props.checked).toEqual(true);
Well, I just found a solution:
expect(wrapper.find('[name="formControl"]').prop('control').props.checked).toEqual(true);