Skip to content

Functional component mount().element equals #comment #114

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

Closed
rssfrncs opened this issue Oct 20, 2017 · 2 comments
Closed

Functional component mount().element equals #comment #114

rssfrncs opened this issue Oct 20, 2017 · 2 comments

Comments

@rssfrncs
Copy link
Contributor

I have a functional component which accepts a "data" prop. This props is not required and by default returns an empty array,

image

I have the following basic test to assert that an is rendered,

image

When i run the test it fails with the following message,

image

When I change the component to not being functional, the same test passes.

@blake-newman
Copy link
Member

This most likely relates to #73

@blake-newman
Copy link
Member

This will be fixed with #115

Closing: Releasing Monday

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

No branches or pull requests

2 participants