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

Enzyme Internal Error: unknown node with tag 13 #1953

Closed
2 tasks done
lukejagodzinski opened this issue Dec 24, 2018 · 4 comments
Closed
2 tasks done

Enzyme Internal Error: unknown node with tag 13 #1953

lukejagodzinski opened this issue Dec 24, 2018 · 4 comments

Comments

@lukejagodzinski
Copy link

API

  • mount

Version

library version
enzyme 3.8.0
react 16.6.0
react-dom 16.6.0

Adapter

  • enzyme-adapter-react-16

When running tests I get the Enzyme Internal Error: unknown node with tag 13 error which started to appear after I've updated React to 16.6.0 and started using React.lazy. From what I've read from other issues like this it's probably because of lack of support for the newest feature of React. So do you already support React 16.6.0?

@ljharb
Copy link
Member

ljharb commented Dec 24, 2018

React 16.6 works; but lazy is not supported yet (neither is memo, Context, Suspense, and a few others). See #1553.

@ljharb
Copy link
Member

ljharb commented Dec 24, 2018

Closing in favor of #1917.

@ljharb ljharb closed this as completed Dec 24, 2018
@lukejagodzinski
Copy link
Author

Ok thanks!

@sabiya115
Copy link

Is there any other way to test lazy components?

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

3 participants