As an alternative to mounting React components during unit tests, you can use Enzyme's shallow() to render your component only "one lev| Emma Goto