xing-frontend-grunt
Version:
The toolset for building Xing frontend applications
29 lines (27 loc) • 506 B
JavaScript
/**
* The Karma configurations.
*
* TODO: Add coverage to general Karma runs
*/
var karmaRunnerPort = require('../ports.js').karmaRunnerPort;
module.exports =
{
options: {
configFile: '<%= build_dirs.root %>/karma-unit.js',
autoWatch: false,
//browsers: [ 'PhantomJS' ]
},
unit: {
options: {
runnerPort: karmaRunnerPort,
background: true
}
},
continuous: { singleRun: true },
dev: {
options: {
singleRun: true,
runnerPort: 9101
}
}
};