|
|
|
@ -31,13 +31,19 @@ module.exports = function(config) {
|
|
|
|
|
// preprocess matching files before serving them to the browser
|
|
|
|
|
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
|
|
|
|
|
preprocessors: { |
|
|
|
|
'c3.js': ['coverage'] |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// test results reporter to use
|
|
|
|
|
// possible values: 'dots', 'progress'
|
|
|
|
|
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
|
|
|
|
|
reporters: ['spec'], |
|
|
|
|
reporters: ['spec', 'coverage'], |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
coverageReporter: { |
|
|
|
|
reporters: [{type: 'lcov'}] |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// web server port
|
|
|
|
@ -50,7 +56,7 @@ module.exports = function(config) {
|
|
|
|
|
|
|
|
|
|
// level of logging
|
|
|
|
|
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
|
|
|
|
|
logLevel: config.LOG_DEBUG, |
|
|
|
|
logLevel: config.LOG_INFO, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// enable / disable watching file and executing tests whenever any file changes
|
|
|
|
|