4 module.exports = function(config) {
7 // base path that will be used to resolve all patterns (eg. files, exclude)
8 basePath: '%BASE_PATH%',
12 // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
13 frameworks: [%FRAMEWORKS%],
16 // list of files / patterns to load in the browser
21 // list of files to exclude
26 // preprocess matching files before serving them to the browser
27 // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
28 preprocessors: %PREPROCESSORS%,
31 // test results reporter to use
32 // possible values: 'dots', 'progress'
33 // available reporters: https://npmjs.org/browse/keyword/karma-reporter
34 reporters: ['progress'],
41 // enable / disable colors in the output (reporters and logs)
46 // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
47 logLevel: config.LOG_INFO,
50 // enable / disable watching file and executing tests whenever any file changes
51 autoWatch: %AUTO_WATCH%,
54 // start these browsers
55 // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
56 browsers: [%BROWSERS%],
59 // Continuous Integration mode
60 // if true, Karma captures browsers, runs the tests and exits