These are chat archives for airbnb/enzyme

Feb 2017
Feb 01 2017 15:45
I'm struggling to understand the difference between the wrapper and wrapper.instance(). I've read the docs for both, but feel as though I could benefit from a deeper explanation.
I would enjoy updating if anyone has more information that would benefit others as well.
Jordan Harband
Feb 01 2017 16:43
wrapper is enzyme. the instance is from React.
if your class-based component has instance methods, you can only get to them from the instance
Feb 01 2017 16:44
perfect, thanks @ljharb