You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment the test renderer is limited to enable testing object children to a single level which means that anything with more complex nesting it's not possible to resolve the children if they are functions.
Additionally just having nested children causes an error when formatting the widget and expected assertion result during the renderer.expect.
The current mechanism for resolving children passes params needed uses the renderer.child API, requiring a wrapped widget and the key of the child object.
This is limited to a single level of children, it would be good if there was a way to resolve nested functional children by providing the params in a similar way to the existing API.
Bug
At the moment the test renderer is limited to enable testing object children to a single level which means that anything with more complex nesting it's not possible to resolve the children if they are functions.
Additionally just having nested children causes an error when formatting the widget and expected assertion result during the
renderer.expect
.The current mechanism for resolving children passes params needed uses the
renderer.child
API, requiring a wrapped widget and the key of the child object.This is limited to a single level of children, it would be good if there was a way to resolve nested functional children by providing the params in a similar way to the existing API.
The text was updated successfully, but these errors were encountered: