A super simple wrapper around Karma
This is very hacky and will fail if used incorrectly, I mostly built this for myself
This module is installed via npm:
$ npm install simple-karma-wrapper
Type: Sting
Default: karma.conf.js
The path to your karma config file
Type: Object
Default: {}
Options to pass into karma
Type: Function
Optional callback to run when karma is finished. Useful for gulp
Type: Object
Default: {}
Options to pass into karma
Type: Function
Optional callback to run when karma is finished. Useful for gulp
var simpleKarmaWrapper = require('simple-karma-wrapper');
simpleKarmaWrapper.start("karma.conf.js", { port: 9879 }, callback);
simpleKarmaWrapper.run(callback);