/ReactjsUnitTest

Unit Testing React.js with Jasmine and Karma

Primary LanguageJavaScript

Unit Testing React.js with Jasmine and Karma

Setup:

  • Karma as a runner: npm install -g karma
  • Jasmine as test framework
  • Grunt as build tool

To run:

npm install

grunt test

To run application in browser: src/index.html

Full story could be found in my blog post