Testing a React project with Karma and Webpack

Test a #ReactJS project with Karma and Webpack:

  • The plugins section specifies that Karma should run the karma-webpack, karma-jasmine and karma-chrome-launcher plugins.
  • karma-chrome-launcher – opens up an instance of Chrome when we run the tests.
  • The command line interface for Karma needs to be installed globally.
  • javascript , karma , react , webpack
  • karma-jasmine – the Jasmine provider so that Karma can understand the results of our tests.

Read the full article, click here.


@ReactiveConf: “Test a #ReactJS project with Karma and Webpack:”


A quick guide to testing Webpack-generated React bundles with Karma.


Testing a React project with Karma and Webpack