Mocha Demo How to test react components if it uses webpack. npm install npm test References https://github.com/zinserjan/mocha-webpack