Testing React and Flux applications with Karma and Webpack

added by bpwndaddy
5/13/2015 3:06:14 PM

2 Kicks, 408 Views

Using Karma, Webpack, and Jasmine, my test suite now takes under 200ms to run in PhantomJS after the initial Webpack bundling. Of course, any other testing framework such as Mocha would work, but this article will use Jasmine in its examples.