Enzyme has been updated to support React 16 Portals.
React 16 Portals: https://reactjs.org/docs/portals.html
Relevant Enzyme issue: https://github.com/airbnb/enzyme/issues/1150
Relevant Enzyme pull request: https://github.com/airbnb/enzyme/pull/1345
If Blueprint.Portal was updated to make use of ReactDOM.createPortal, then components involving Blueprint.Portals would be much easier to unit test via Enzyme, because Enzyme's wrapper methods (find, etc.) are now able to work across portal boundaries.
It may even simplify the implementation of Blueprint.Portal.
this will likely happen in 2.0, coming very soon!
2.0? 馃槂 By end of the year?
@kudigaracoder That's the goal, yep.
Good luck with the 2.0 update guys! Are you introducing new components?(that's not part of Labs)
Most helpful comment
this will likely happen in 2.0, coming very soon!