Tests a ComponentJS component with Karma

npm install component-karma-run
1 downloads in the last day
16 downloads in the last week
33 downloads in the last month

component-karma-run - Run karma tests on ComponentJS projects

Runs the karma test runner with --single-run. If there is no karma.conf.js found in the current working directory then one is created. The generated karma.conf.js is ephemeral. This allows for quick testing on small projects.


Simple example (tests code in Chrome and Firefox)::

$ component karma-run

Specify browsers (test in Chrome, Firefox, and PhantomJS)::

$ component karma-run --browsers Chrome,Firefox,PhantomJS
npm loves you