효소의 얕은 부분을 사용하여 더 많은 탄 성분을 렌더링 할 수 있습니까?효소가 얕은 여러 구성 요소를 렌더링
나는 다음과 같은 실패 시험이 있습니다
it('should have different ids for different checkboxes',() => {
const wrapper = shallow(<div><Checkbox {...props} /><Checkbox {...props} /></div>)
const inputs = wrapper.find('input')
expect(inputs.length).toBe(1)
})