Javascript unit testing tools in one simple package
This package installs the most useful unit testing package tools.
- Karma test runner for javascript (uses below tools)
- Mocha testing framework
- Chai assertion library
- Sinon.js
This can be directly installed from the npmregistry as
npm install karma-mocha-chai-sinon
if needed globally
npm install -g karma-mocha-chai-sinon
After the installtion is complete; karma can be initialized using
karma init "myconf.js"
(myconf.js) is your local config file created via karma init myconf.js
or if to be used with an existing config file
karma start "path to your config file"