module.exports = function (config) {
    config.set({

        // base path that will be used to resolve all patterns (eg. files, exclude)
        basePath: '',

        browserNoActivityTimeout: 100000,

        // frameworks to use
        // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
        frameworks: ['mocha', 'chai'],


        // list of files / patterns to load in the browser
        files: [
            'tests/unit/**/*.spec.js',
            'tests/filesCache.js',
            {pattern: 'dist/workers/**/*.js', watched: false, include: false, serve: true}
        ],

        reporters: ['progress', 'coverage'],

        coverageReporter: {
            type: 'html',
            dir: 'tests/coverage/',
            includeAllSources: true
        },


        // list of files to exclude
        exclude: [],


        preprocessors: {
            'src/**/*.js': ['coverage'],
            'tests/unit/**/*.spec.js': ['webpack']
        },

        webpack: {
            module: {
                loaders: [
                    {
                        test: /(spec|src)/,
                        loader: 'babel',
                        query: {
                            stage: 0,
                            auxiliaryCommentBefore: 'istanbul ignore next'
                        }
                    }
                ],
                postLoaders: [{
                    test: /\.js/,
                    exclude: /(node_modules|bower_components)/,
                    loader: 'istanbul-instrumenter'
                }]
            }
        },

        webpackMiddleware: {
            // webpack-dev-middleware configuration
            // i. e.
            noInfo: true
        },


        // web server port
        port: 9876,


        // enable / disable colors in the output (reporters and logs)
        colors: true,


        // level of logging
        // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
        logLevel: config.LOG_INFO,


        // enable / disable watching file and executing tests whenever any file changes
        autoWatch: false,


        // start these browsers
        // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
        browsers: ['Chrome'],


        // Continuous Integration mode
        // if true, Karma captures browsers, runs the tests and exits
        singleRun: true
    });
};
@@ -1488,16 +1488,27 @@
 mponents
+%7Cdist%7Ctests
 )/,%0A    

fix tests coverage config