GauravTiwarii / issue_tracking_for_node

any issue regarding execution of Node, will be managed on this repository's issue section.
0 stars 0 forks source link

Enzyme not able to access nested components #10

Open GauravTiwarii opened 6 years ago

GauravTiwarii commented 6 years ago

Basically, when component is shallow rendered with Enzyme, it is not able to access the nested components, hence, we have no results back from '.find()'.!

GauravTiwarii commented 6 years ago

Till now, I have realised that shallow will lazy render, and hence, only the top-level component is available through shallow(). But I need to test rendered nested component.

GauravTiwarii commented 6 years ago

I have made some progress, by using mount, I am able to access the Select.Async. But still, I am not able to simulate the actions on Components.

GauravTiwarii commented 6 years ago
Still need to work on it...