var webpack = require("karma-webpack");
var webpackConfig = require("./webpack.config");

webpackConfig.entry = undefined
module.exports = function (config) {
  config.set({
    frameworks: [ "jasmine" ],
    files: [
      "bower_components/jquery/dist/jquery.js",
      "bower_components/jasmine-jquery/lib/jasmine-jquery.js",
      "scripts/dash-modal/load.js",
      "scripts/sample_app/main.js",
      "spec/spec_helper.js",
      "spec/**/*_spec.js",
      "spec/**/*_spec.coffee"
    ],
    plugins: [
      "karma-jasmine",
      "karma-phantomjs-launcher",
      "karma-spec-reporter",
      webpack
    ],
    browsers: [ "PhantomJS" ],
    preprocessors: {
      "spec/**/*.js": ["webpack"],
      "scripts/**/*.js": ["webpack"],
      "spec/**/*.coffee": ["webpack"],
      "scripts/**/*.coffee": ["webpack"]
    },
    logLevel: config.LOG_INFO,
    reporters: ["spec"],
    singleRun: false,
    phantomjsLauncher: {
      exitOnResourceError: true
    },
    webpack: webpackConfig
  });
};

@@ -420,32 +420,42 @@
 elper.js%22,%0A     
+ %7Bpattern:
  %22spec/**/*_spec
@@ -463,38 +463,142 @@
 js%22,
-%0A      %22spec/**/*_spec.coffee%22
+ watched: false, included: true, served: true%7D,%0A      %7Bpattern: %22spec/**/*_spec.coffee%22, watched: false, included: true, served: true%7D
 %0A   
@@ -1103,16 +1103,114 @@
 ckConfig
+,%0A    webpackMiddleware: %7B%0A      noInfo: true,%0A      stats: %7B%0A        chunks: false%0A      %7D%0A    %7D,
 %0A  %7D);%0A%7D

Clean up Karma output