Testing React components with Mocha test runner, jsdom, unexpected and SinonJS This is just a quick basic setup of the above mentioned libraries. Environment setup $ npm install Run tests $ npm test Credits https://github.com/jesstelford/react-testing-mocha-jsdom http://jaketrent.com/post/testing-react-with-jsdom/