Understanding the shallow function in Enzyme
As an alternative to mounting React components during unit tests, you can use Enzyme's shallow() to...
Tags: enzyme, react, jest