Example of unit testing react components, actions and reducers. Mocha as the test runner. Assertions and expectations provided by Chai and Chai-Jquery. No browser required, components are rendered in memory using jsdom.
$ npm install
$ npm run test:watch
Test suite will automatically re-run when source or test changes.