Testing React and Flux applications with Karma and Webpack

Testing React and Flux applications with Karma and Webpack

Testing React and Flux applications with Karma and Webpack17 Mar 2015This article is mainly for those looking for alternatives to using Jest to test their React and Flux applications. Jest is a testing framework from Facebook with a similar API to that of Jasmine, but with automatic mocking of CommonJS modules. Anyone who has used Jest for a non trivial React and Flux application knows that it is really slow. For my test suite of about 60 test cases, it takes well over 10 seconds!

Source: Testing React and Flux applications with Karma and Webpack