// Karma configuration
// Generated on Thu Sep 03 2015 14:27:53 GMT+0700 (SE Asia Standard Time)

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

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


        // frameworks to use
        // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
        frameworks: ["jasmine"],


        // list of files / patterns to load in the browser
        files: [
            "bower_components/lodash/lodash.js",
            "bower_components/angular/angular.js",
            "bower_components/angular-mocks/angular-mocks.js",
            "scripts/**/*.js",
            "tests/**/*.spec.js"
        ],


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


        // preprocess matching files before serving them to the browser
        // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
        preprocessors: {},


        // test results reporter to use
        // possible values: "dots", "progress"
        // available reporters: https://npmjs.org/browse/keyword/karma-reporter
        reporters: ["clear-screen", "growl", "mocha"],


        // 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: true,


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


        // Continuous Integration mode
        // if true, Karma captures browsers, runs the tests and exits
        singleRun: false
    })
};

@@ -128,16 +128,871 @@
 nfig) %7B%0A
+    var useMinified = true;%0A%0A    var files = function () %7B%0A        var _files = %5B%5D;%0A%0A        _files = _files.concat(%5B%0A            %22bower_components/lodash/lodash.js%22,%0A            %22bower_components/jquery/dist/jquery.js%22,%0A            %22bower_components/angular/angular.js%22,%0A            %22bower_components/angular-mocks/angular-mocks.js%22%0A        %5D);%0A%0A        if (useMinified) %7B%0A            _files.push(%22dist/wizer.min.js%22);%0A        %7D else %7B%0A            _files = _files.concat(%5B%0A                %22scripts/angular/bootstrap.js%22,%0A                %22scripts/Class.js%22,%0A                %22scripts/sharepoint/SPList.js%22,%0A                %22scripts/sharepoint/SPDocumentLibrary.js%22,%0A                %22scripts/**/*.js%22%0A            %5D);%0A        %7D%0A%0A        _files.push(%22tests/testUtilities.js%22);%0A        _files.push(%22tests/unit/**/*.spec.js%22);%0A%0A        return _files;%0A    %7D();%0A%0A
     conf
@@ -1000,16 +1000,16 @@
 g.set(%7B%0A
-
 %0A       
@@ -1333,246 +1333,13 @@
 es: 
-%5B%0A            %22bower_components/lodash/lodash.js%22,%0A            %22bower_components/angular/angular.js%22,%0A            %22bower_components/angular-mocks/angular-mocks.js%22,%0A            %22scripts/**/*.js%22,%0A            %22tests/**/*.spec.js%22%0A        %5D
+files
 ,%0A%0A%0A
@@ -2522,16 +2522,16 @@
 d exits%0A
-
         
@@ -2546,16 +2546,85 @@
 n: false
+,%0A%0A        mochaReporter: %7B%0A            ignoreSkipped: true%0A        %7D
 %0A    %7D)%0A

Update test configurations