Closed
Description
Continue discussion started here #71 (comment)
After upgrading enzyme from version 2 to latest 3.2.0 my related to retrieving subtree of Modal component tests gets broken.
I'm using solution from here http://remarkablemark.org/blog/2017/05/17/testing-react-modal/
const portalWrapper = new ReactWrapper(wrapper.find(ReactModal).node.portal, true);
console.log(portalWrapper.debug());
After upgrade portalWrapper
is empty even with is_open={true}
(before it has full subtree), so It became impossible to retrieve content. Any solution for this problem?
I tested with react 15 and 16
Metadata
Metadata
Assignees
Labels
No labels