const webpackConfig = require('./../webpack.config')

module.exports = function (config) {
  config.set({
    basePath: __dirname,
    files: [
      'test/**/*.js'
    ],
    frameworks: ['jasmine'],
    preprocessors: {
      'test/**/*.js': ['webpack', 'sourcemap']
    },
    webpack: {
      module: webpackConfig.module
    },
    webpackMiddleware: {
      noInfo: true
    },
    plugins: [
      'karma-jasmine',
      'karma-webpack',
      'karma-chrome-launcher',
      'karma-sourcemap-loader',
      'karma-phantomjs-launcher',
      'karma-spec-reporter',
      'karma-coverage'
    ],
    browsers: ['PhantomJS'],
    browserDisconnectTimeout: 10000,
    browserDisconnectTolerance: 2,
    captureTimeout: 100000,
    browserNoActivityTimeout: 30000,
    colors: true,
    logColors: true,
    logLevel: config.LOG_INFO
  })
}

@@ -67,17 +67,8 @@
 ts =
- function
  (co
@@ -72,16 +72,19 @@
 (config)
+ =%3E
  %7B%0A  con
@@ -130,37 +130,32 @@
 files: %5B%0A      '
-test/
 **/*.js'%0A    %5D,%0A
@@ -215,13 +215,8 @@
    '
-test/
 **/*
@@ -267,22 +267,16 @@
 bpack: %7B
-%0A     
  module:
@@ -296,20 +296,16 @@
 g.module
-%0A   
  %7D,%0A    

Fix config paths on files