🏊🏼♂ Dive deep️
Installation
1. Add Package
yarn add enzyme-dive --dev
2. Extend Enzyme in your setup file
;;; Enzyme.configure; // The magic 🧙🏼♂️configureEnzyme.ShallowWrapper;
Usage
diveTo(selector)
Use this to dive until you reach your component. This can be useful if you've got many HoC wrappers.
;;;; describe'<Component />', ;
diveDeep(depth)
Dive through your nodes a specified amount
;;; describe'<Component />', ;