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