grafana/tasks/options/karma.js
2015-09-15 13:23:36 +02:00

30 lines
573 B
JavaScript

module.exports = function(config) {
'use strict';
return {
dev: {
configFile: 'karma.conf.js',
singleRun: false,
},
debug: {
configFile: 'karma.conf.js',
singleRun: false,
browsers: ['Chrome']
},
test: {
configFile: 'karma.conf.js',
},
coveralls: {
configFile: 'karma.conf.js',
reporters: ['dots','coverage','coveralls'],
preprocessors: {
'public/app/**/*.js': ['coverage']
},
coverageReporter: {
type: 'lcov',
dir: 'coverage/'
}
}
};
};