Logo Awesome React

Awesome React

Migrating from shallow rendering react components to explicit component mocks

  • Details
Testing React using shallow rendering has a bunch of problems with regards to testing implementation details. Let's see how we can use Jest mocking instead to avoid these issues.

Repo: https://github.com/kentcdodds/shallow-to-mock