node package manager

react-testing-utils

Introduction

This package provides a set of functions to help you test React components easily.

Rationale

  • Shallow rendering is awesome and it should be enough to test your dumb components.
  • Smart components should not have UI (according to me).
  • jsdom or phantomjs are great tools, but life is better without them. Again, your dumb components should be simple enough to do not need such tools.