Launcher for TrifleJS (developer version).
The easiest way is to keep karma-triflejs-launcher
as a devDependency in your package.json
.
{
"devDependencies": {
"karma": "~0.10",
"karma-triflejs-launcher": "~0.0.6"
}
}
You can simple do it by:
npm install karma-triflejs-launcher --save-dev
// karma.conf.js
module.exports = function(config) {
config.set({
browsers: ['trifleJS'],
});
};
You can pass list of browsers as a CLI argument too:
karma start --browsers trifleJS,Chrome
For more information on Karma see the homepage.