Skip to content
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

Fix assertion of missing child component #5206

Merged
merged 1 commit into from
Sep 5, 2018

Conversation

whymarrh
Copy link
Contributor

@whymarrh whymarrh commented Sep 5, 2018

Refs #5091 and #5138

This PR fixes a small issue with the way we were using Enzyme's .html()—we were calling .html() on a missing child and expecting it to return null where it instead throws an error.

@whymarrh whymarrh requested review from danjm and alextsg September 5, 2018 19:09
@whymarrh whymarrh merged commit dc2431f into MetaMask:develop Sep 5, 2018
@whymarrh whymarrh deleted the fix-send-content-tests branch September 5, 2018 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants