module.exports = function (config) {
    config.set({
        browsers: [ 'PhantomJS' ],
        plugins: [
            'karma-mocha',
            'karma-coverage',
            'karma-coveralls',
            'karma-phantomjs-launcher',
            'karma-mocha-reporter'
        ],
        frameworks: [ 'mocha' ],
        reporters: [ 'mocha', 'coverage', 'coveralls' ],
        client: {
            mocha: {
                ui: 'bdd'
            }
        },
        basePath: '../',
        files: [
            'node_modules/angular/angular.js',
            'node_modules/angular-mocks/angular-mocks.js',
            'node_modules/sinon/pkg/sinon-1.17.4.js',
            'node_modules/unexpected/unexpected.js',
            'node_modules/unexpected-sinon/lib/unexpected-sinon.js',
            'src/*.js',
            'src/**/*.js',
            'test/bootstrap.js',
            'test/**/*.spec.js'
        ],
        preprocessors: {
            'src/**/*.js': [ 'coverage' ]
        },
        coverageReporter: {
            type : 'lcov',
            dir : 'coverage/'
        },
        singleRun: true
    });
};

module.exports = function (config) {
    config.set({
        browsers: [ 'PhantomJS' ],
        plugins: [
            'karma-mocha',
            'karma-coverage',
            'karma-coveralls',
            'karma-phantomjs-launcher',
            'karma-mocha-reporter'
        ],
        frameworks: [ 'mocha' ],
        reporters: [ 'mocha', 'coverage', 'coveralls' ],
        client: {
            mocha: {
                ui: 'bdd'
            }
        },
        basePath: '../',
        files: [
            'node_modules/angular/angular.js',
            'node_modules/angular-mocks/angular-mocks.js',
            'node_modules/sinon/pkg/sinon.js',
            'node_modules/unexpected/unexpected.js',
            'node_modules/unexpected-sinon/lib/unexpected-sinon.js',
            'src/*.js',
            'src/**/*.js',
            'test/bootstrap.js',
            'test/**/*.spec.js'
        ],
        preprocessors: {
            'src/**/*.js': [ 'coverage' ]
        },
        coverageReporter: {
            type : 'lcov',
            dir : 'coverage/'
        },
        singleRun: true
    });
};

Fix path to packaged sinon test dependency
Fix path to packaged sinon test dependency
