enzyme: Enzyme Internal Error: unknown node with tag 14
Getting 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
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 4
- Comments: 19 (10 by maintainers)
I also took a try without cloning a node itself and passing it directly to mount but result is the same.