/react-jest-enzyme-example

A minimal configuration for testing React components with Jest and Enzyme.

Primary LanguageJavaScriptMIT LicenseMIT

react-jest-enzyme-example

This is an example minimal configuration for testing React with Jest and Enzyme.

Features

  • React 16.x
  • Jest 24.x
  • Enzyme 3.x
  • Babel 7.x
  • ESLint support

Install

It's recommended to use NodeJS 12.x.

npm install

Run tests

npm test