// Karma configuration
// Generated on Fri Dec 05 2014 16:49:29 GMT-0500 (EST)

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: ['jspm', 'jasmine'],

    jspm: {
      // Edit this to your needs
      loadFiles: ['src/**/*.js', 'test/**/*.js']
    },


    // list of files / patterns to load in the browser
    files: [],


    // 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/**/*.js': ['babel'],
      'src/**/*.js': ['babel']
    },
    'babelPreprocessor': {
      options: {
        sourceMap: 'inline',
        modules: 'system',
        moduleIds: false,
        loose: "all",
        optional: [
          "es7.decorators",
          "es7.classProperties"
        ]
      }
    },


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


    // 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: ['Chrome'],


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

@@ -128,209 +128,25 @@
 t(%7B%0A
-%0A    // base path that will be used to resolve all patterns (eg. files, exclude)%0A    basePath: '',%0A%0A%0A    // frameworks to use%0A    // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
+    basePath: '',
 %0A   
@@ -179,17 +179,16 @@
 mine'%5D,%0A
-%0A
     jspm
@@ -195,41 +195,8 @@
 : %7B%0A
-      // Edit this to your needs%0A
     
@@ -243,297 +243,98 @@
 js'%5D
+,
 %0A    
-%7D,%0A%0A%0A    // list of files / patterns to load in the browser%0A    files: %5B%5D,%0A%0A%0A    // list of files to exclude%0A    exclude: %5B%0A    %5D,%0A%0A%0A    // preprocess matching files before serving them to the browser%0A    // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
+  paths: %7B%0A          '*': '*.js'%0A      %7D%0A    %7D,%0A    files: %5B%5D,%0A    exclude: %5B%0A    %5D,
 %0A   
@@ -679,848 +679,148 @@
  %7D,%0A
-%0A%0A    // test results reporter to use%0A    // possible values: 'dots', 'progress'%0A    // available reporters: https://npmjs.org/browse/keyword/karma-reporter%0A    reporters: %5B'progress'%5D,%0A%0A%0A    // web server port%0A    port: 9876,%0A%0A%0A    // enable / disable colors in the output (reporters and logs)%0A    colors: true,%0A%0A%0A    // level of logging%0A    // possible values: config.LOG_DISABLE %7C%7C config.LOG_ERROR %7C%7C config.LOG_WARN %7C%7C config.LOG_INFO %7C%7C config.LOG_DEBUG%0A    logLevel: config.LOG_INFO,%0A%0A%0A    // enable / disable watching file and executing tests whenever any file changes%0A    autoWatch: true,%0A%0A%0A    // start these browsers%0A    // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher%0A    browsers: %5B'Chrome'%5D,%0A%0A%0A    // Continuous Integration mode%0A    // if true, Karma captures browsers, runs the tests and exits
+    reporters: %5B'progress'%5D,%0A    port: 9876,%0A    colors: true,%0A    logLevel: config.LOG_INFO,%0A    autoWatch: true,%0A    browsers: %5B'Chrome'%5D,
 %0A   

Remove comments from Karma config