mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
33 lines
576 B
JavaScript
33 lines
576 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/'
|
|
}
|
|
}
|
|
};
|
|
};
|