let webpack = require('karma-webpack');

module.exports = function(config) {
  config.set({
    frameworks: ['jasmine'],
    files: [
      '../tests/**/*_spec.js',
    ],
    plugins: [
      webpack,
      'karma-jasmine',
      'karma-phantomjs-launcher',
      'karma-coverage',
      'karma-spec-reporter',
      'karma-htmlfile-reporter',
      'es6-shim',
    ],
    browsers: ['PhantomJS'],
    preprocessors: {
      '**/*_spec.js': ['webpack'],
      'src/**/*.js': ['webpack'],
    },
    reporters: ['spec', 'coverage', 'html'],
    coverageReporter: {
      dir: '../tests/reports/coverage',
      reporters: [{
        type: 'html',
      }],
    },
    webpack: {
      module: {
        loaders: [{
          test: /\.(js|jsx)$/,
          exclude: /(bower_components|node_modules)/,
          loader: 'babel-loader',
        }],
      },
    },
    colors: true,
    webpackMiddleware: {
      noInfo: true,
    },
    htmlReporter: {
      outputFile: 'results/unit-tests.html',
    },
  });
};

@@ -1,7 +1,28 @@
-let
+/* eslint-disable */%0Avar
  web
@@ -375,17 +375,16 @@
 s6-shim'
-,
 %0A    %5D,%0A
@@ -496,25 +496,24 @@
  %5B'webpack'%5D
-,
 %0A    %7D,%0A    
@@ -663,25 +663,24 @@
 l',%0A      %7D%5D
-,
 %0A    %7D,%0A    
@@ -843,17 +843,16 @@
 -loader'
-,
 %0A       
@@ -859,25 +859,24 @@
  %7D%5D,%0A      %7D
-,
 %0A    %7D,%0A    
@@ -928,25 +928,24 @@
 noInfo: true
-,
 %0A    %7D,%0A    
@@ -1007,22 +1007,19 @@
 tml'
-,
 %0A    %7D
-,
 %0A  %7D);%0A
+
 %7D;
-%0A

Revert karma config change