findAllInRenderedTree function
- @JS('React.addons.TestUtils.findAllInRenderedTree')
- dynamic tree,
- ComponentTestFunction test
Traverse all components in tree and accumulate all components where test(component) is true. This is not that useful on its own, but it's used as a primitive for other test utils
Included in Dart for completeness
Implementation
@JS('React.addons.TestUtils.findAllInRenderedTree')
external List<dynamic> findAllInRenderedTree(/* [1] */ tree, ComponentTestFunction test);