hop of those help? In your example this input is second component level to be rendered. shallow renders only one component so your wrapper would have structure: . If you want to render this input you should use mount() or const wrapper = shallow().shallow() to render 2 levels of components. In your case if you have complex structure with multiple levels of components I would go with mount()
this will help The problem in my case was that I used npm link to another package which uses enzyme too. When the other project imported enzyme he got it's own instance of enzyme which wasn't configured, resulting this error. I solved this by passing enzyme to the other package so it would used my package enzyme instead of importing its own.