-
git clone git@github.com:eraldoforgoli/react-testing
-
cd react-testing
-
npm install
examples/
├── add # Simple example of a unit test
├── NavBar # Redux actions and reducer tests
└── Button # React component tests
$ npm run test
-
$ npm run test:function
: Run the pure function tests -
$ npm run test:actions
: Run the action tests -
$ npm run test:reducer
: Run the reducer tests -
$ npm run test:redux
: Run both # Testing React Applications Examples