Enzyme Internal Error: unknown node with tag 14
See original GitHub issueGetting Enzyme Internal Error: unknown node with tag 14
where mount
is used on cloned element node. For instance:
...
mount(React.cloneElement(node))
...
Update
After grid-styled
reverted to 4.1.1
seems to be working fine.
Versions
- grid-styled
5.0.2
☢️ - styled-system
3.0.1
- react
16.4.1
- jest
23.4.1
- enzyme
3.3.0
- enzyme-adapter-react-16
1.1.1
- enzyme-react-intl
2.0.0
- enzyme-to-json
3.3.4
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:19 (10 by maintainers)
Top Results From Across the Web
forwardRef: Enzyme Internal Error: unknown node with tag 14
Current behavior After update React to 16.3.0 version and use forwardRef, my tests is broken. Component that uses forwardRef now exports as: export...
Read more >Enzyme Internal Error: unknown node with tag 15 using React ...
Using Jest for my tests, I just downloaded and installed React Boilerplate with Dandelion Template and configured Jest, when running npm ...
Read more >forwardRef: Enzyme Internal Error: unknown node with tag 14
Current behavior. After update React to 16.3.0 version and use forwardRef , my tests is broken. Component that uses forwardRef now exports ...
Read more >enzymejs/enzyme - Gitter
Hi, I am having an issue with getting enzyme to work in our react 16 app: Enzyme Internal Error: Enzyme expects an adapter...
Read more >Unknown Node With Tag 15 Using React Boiler Plate - ADocLib
Fixed for me after update to versions below: Current behavior Gettting an error Enzyme Internal Error: unknown node with tag 0 Expected ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I also took a try without cloning a node itself and passing it directly to mount but result is the same.
@mockey-jockey enzyme is up to v3.11.0, and enzyme-adapter-react-16 is up to v1.15.2. Please update to the latest versions.