Login
From:
Emma Goto
(Uncensored)
subscribe
Understanding the shallow function in Enzyme
https://www.emgoto.com/enzyme-shallow/
links
backlinks
Roast topics
Find topics
Find it!
As an alternative to mounting React components during unit tests, you can use Enzyme's shallow() to render your component only "one lev