react-testing-library-unit-tests

The React Testing Library is a very light-weight solution for testing React components. It provides light utility functions on top of react-dom and react-dom/test-utils alternative to Enzyme

Stars
4

Playing around React-testing-library which is the right alternative to Enzyme

Examples

Usage

  • yarn test // run all tests
  • yarn -u // update snapshot

Reference links