// Karma configuration
// Generated on Tue May 20 2014 23:34:58 GMT-0400 (EDT)

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: ['browserify', 'mocha', 'chai-sinon'],


    // list of files / patterns to load in the browser
    browserify: {
        debug: true,
    },


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

    files: [
        'components/angular/angular.js',
        'components/angular-mocks/angular-mocks.js',
        'components/stripe/index.js',
        'node_modules/es5-shim/es5-shim.js',
        'node_modules/chai-as-promised/lib/chai-as-promised.js',
        'test/*.js'
    ],


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


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


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

@@ -126,18 +126,16 @@
 .set(%7B%0A%0A
-  
   // bas
@@ -204,18 +204,16 @@
 xclude)%0A
-  
   basePa
@@ -218,26 +218,24 @@
 Path: '',%0A%0A%0A
-  
   // framewo
@@ -247,18 +247,16 @@
 o use%0A  
- 
- 
 // avail
@@ -319,18 +319,16 @@
 adapter%0A
-  
   framew
@@ -372,26 +372,24 @@
 inon'%5D,%0A%0A%0A  
- 
- 
 // list of f
@@ -427,18 +427,16 @@
 browser%0A
-  
   browse
@@ -439,28 +439,24 @@
 owserify: %7B%0A
-    
     debug: t
@@ -460,18 +460,16 @@
 : true,%0A
-  
   %7D,%0A%0A%0A 
@@ -465,26 +465,24 @@
 e,%0A  %7D,%0A%0A%0A  
- 
- 
 // list of f
@@ -497,18 +497,16 @@
 exclude%0A
-  
   exclud
@@ -518,21 +518,15 @@
     
-  %0A 
+%0A
   
- 
 %5D,%0A%0A
-  
   fi
@@ -532,20 +532,16 @@
 iles: %5B%0A
-    
     'com
@@ -565,28 +565,24 @@
 ngular.js',%0A
-    
     'compone
@@ -622,20 +622,16 @@
 s',%0A    
-  
-  
 'compone
@@ -648,28 +648,24 @@
 /index.js',%0A
-    
     'node_mo
@@ -697,20 +697,16 @@
 s',%0A    
- 
-   
 'node_mo
@@ -754,28 +754,24 @@
 ed.js',%0A    
-   
- 
 'test/*.js'%0A
@@ -774,19 +774,15 @@
 js'%0A
-  
   %5D,%0A%0A%0A
-  
   //
@@ -843,18 +843,16 @@
 browser%0A
-  
   // ava
@@ -925,18 +925,16 @@
 ocessor%0A
-  
   prepro
@@ -944,20 +944,16 @@
 sors: %7B%0A
-    
     'tes
@@ -976,25 +976,21 @@
 rify'%0A  
- 
- 
 %7D,%0A%0A%0A
-  
   // tes
@@ -1017,18 +1017,16 @@
 o use%0A  
- 
- 
 // possi
@@ -1056,18 +1056,16 @@
 ogress'%0A
-  
   // ava
@@ -1130,18 +1130,16 @@
 eporter%0A
-  
   report
@@ -1155,26 +1155,24 @@
 ogress'%5D,%0A%0A%0A
-  
   // web ser
@@ -1180,18 +1180,16 @@
 er port%0A
-  
   port: 
@@ -1192,26 +1192,24 @@
 rt: 9876,%0A%0A%0A
-  
   // enable 
@@ -1260,18 +1260,16 @@
 d logs)%0A
-  
   colors
@@ -1274,26 +1274,24 @@
 rs: true,%0A%0A%0A
-  
   // level o
@@ -1302,18 +1302,16 @@
 gging%0A  
- 
- 
 // possi
@@ -1419,18 +1419,16 @@
 G_DEBUG%0A
-  
   logLev
@@ -1446,26 +1446,24 @@
 LOG_INFO,%0A%0A%0A
-  
   // enable 
@@ -1534,18 +1534,16 @@
 anges%0A  
- 
- 
 autoWatc
@@ -1549,26 +1549,24 @@
 ch: true,%0A%0A%0A
-  
   // start t
@@ -1579,18 +1579,16 @@
 rowsers%0A
-  
   // ava
@@ -1661,18 +1661,16 @@
 auncher%0A
-  
   browse
@@ -1690,18 +1690,16 @@
 JS'%5D,%0A%0A%0A
-  
   // Con
@@ -1723,18 +1723,16 @@
 on mode%0A
-  
   // if 
@@ -1787,18 +1787,16 @@
 d exits%0A
-  
   single

fix spacing