-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle ignored children in decorate #840
Handle ignored children in decorate #840
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 5eaa6c3:
|
Codecov Report
@@ Coverage Diff @@
## master #840 +/- ##
=======================================
Coverage 97.64% 97.64%
=======================================
Files 127 127
Lines 8034 8034
Branches 1861 1861
=======================================
Hits 7845 7845
Misses 189 189
Continue to review full report at Codecov.
|
* Handle ignored children in decorate (#840) * Allow finding and modifying wrapped widgets in functional children (#780) * Add function to create "typed" version of middleware (#819) * Add factory function to middleware for adding types * change to withType * Fix mock middleware types (#822) * Wrap children result in an array if not already in one (#844) * wrap children result in an array if not already in one * add test for wrapped children * update assert render unit test (#820) Co-authored-by: Bradley Maier <bmaier@sitepen.com> Co-authored-by: Anthony Gubler <agubler@sitepen.com>
Type: bug
The following has been addressed in the PR:
prettier
as per the readme code style guidelinesDescription:
Allows finding wrapped nodes when the actual array has additional children that are undefined or booleans.
This fix resolves the failure that led to #839 being created, but the actual bug was not what we originally thought.
Resolves #839