// Karma configuration1// Generated on Fri Dec 16 2016 13:09:51 GMT+0000 (UTC)23module.exports = function(config) {4config.set({56// base path that will be used to resolve all patterns (eg. files, exclude)7basePath: '',8910// frameworks to use11// available frameworks: https://npmjs.org/browse/keyword/karma-adapter12frameworks: ['mocha', 'chai', 'sinon'],131415// list of files / patterns to load in the browser16files: [17'dist/debug.js',18'test/*spec.js'19],202122// list of files to exclude23exclude: [24'src/node.js'25],262728// preprocess matching files before serving them to the browser29// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor30preprocessors: {31},3233// test results reporter to use34// possible values: 'dots', 'progress'35// available reporters: https://npmjs.org/browse/keyword/karma-reporter36reporters: ['progress'],373839// web server port40port: 9876,414243// enable / disable colors in the output (reporters and logs)44colors: true,454647// level of logging48// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG49logLevel: config.LOG_INFO,505152// enable / disable watching file and executing tests whenever any file changes53autoWatch: true,545556// start these browsers57// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher58browsers: ['PhantomJS'],596061// Continuous Integration mode62// if true, Karma captures browsers, runs the tests and exits63singleRun: false,6465// Concurrency level66// how many browser should be started simultaneous67concurrency: Infinity68})69}707172