var path = require('path');

module.exports = function(config) {
	config.set({
		basePath: '',
		frameworks: ['mocha', 'chai'],
		files: [
			'test/index.js',
		],
		exclude: [],
		preprocessors: {
			"test/index.js": ["webpack", "sourcemap"],
		},
		webpack: {
			module: {
				preLoaders: [{
					test: /\.jsx?$/,
					exclude: [
						path.resolve('src/components/'),
						path.resolve('node_modules/')
					],
					loader: 'babel'
				}, {
					test: /\.jsx?$/,
					include: path.resolve('src/components/'),
					loader: 'isparta'
				}]
			},
			resolve: {
				extensions: ['', '.js', '.json', '.jsx']
			},
			devtool: 'inline-source-map'
		},
		coverageReporter: {
			type: 'html',
			dir: 'coverage/'
		},
		webpackMiddleware: {
			noInfo: true
		},
		reporters: ['progress', 'coverage'],
		port: 9876,
		colors: true,
		logLevel: config.LOG_INFO,
		autoWatch: true,
		browsers: ['Chrome'],
		singleRun: false,
		concurrency: Infinity
	})
}

@@ -58,17 +58,20 @@
 nfig) %7B%0A
-%09
+    
 config.s
@@ -75,18 +75,24 @@
 g.set(%7B%0A
-%09%09
+        
 basePath
@@ -97,18 +97,24 @@
 th: '',%0A
-%09%09
+        
 framewor
@@ -136,18 +136,24 @@
 chai'%5D,%0A
-%09%09
+        
 files: %5B
@@ -153,19 +153,28 @@
 iles: %5B%0A
-%09%09%09
+            
 'test/in
@@ -182,23 +182,35 @@
 ex.js',%0A
-%09%09%5D,%0A%09%09
+        %5D,%0A        
 exclude:
@@ -214,18 +214,24 @@
 de: %5B%5D,%0A
-%09%09
+        
 preproce
@@ -239,19 +239,28 @@
 sors: %7B%0A
-%09%09%09
+            
 %22test/in
@@ -298,102 +298,183 @@
 %22%5D,%0A
-%09%09%7D,%0A%09%09webpack: %7B%0A%09%09%09module: %7B%0A%09%09%09%09preLoaders: %5B%7B%0A%09%09%09%09%09test: /%5C.jsx?$/,%0A%09%09%09%09%09exclude: %5B%0A%09%09%09%09%09%09
+        %7D,%0A        webpack: %7B%0A            module: %7B%0A                preLoaders: %5B%7B%0A                    test: /%5C.jsx?$/,%0A                    exclude: %5B%0A                        
 path
@@ -506,14 +506,32 @@
 '),%0A
-%09%09%09%09%09%09
+                        
 path
@@ -560,169 +560,298 @@
 /')%0A
-%09%09%09%09%09%5D,%0A%09%09%09%09%09loader: 'babel'%0A%09%09%09%09%7D, %7B%0A%09%09%09%09%09test: /%5C.jsx?$/,%0A%09%09%09%09%09include: path.resolve('src/components/'),%0A%09%09%09%09%09loader: 'isparta'%0A%09%09%09%09%7D%5D%0A%09%09%09%7D,%0A%09%09%09resolve: %7B%0A%09%09%09%09
+                    %5D,%0A                    loader: 'babel'%0A                %7D, %7B%0A                    test: /%5C.jsx?$/,%0A                    include: path.resolve('src/components/'),%0A                    loader: 'isparta'%0A                %7D%5D%0A            %7D,%0A            resolve: %7B%0A                
 exte
@@ -891,17 +891,35 @@
 x'%5D%0A
-%09%09%09%7D,%0A%09%09%09
+            %7D,%0A            
 devt
@@ -943,23 +943,35 @@
 ce-map'%0A
-%09%09%7D,%0A%09%09
+        %7D,%0A        
 coverage
@@ -982,19 +982,28 @@
 rter: %7B%0A
-%09%09%09
+            
 type: 'h
@@ -1008,19 +1008,28 @@
 'html',%0A
-%09%09%09
+            
 dir: 'co
@@ -1037,23 +1037,35 @@
 erage/'%0A
-%09%09%7D,%0A%09%09
+        %7D,%0A        
 webpackM
@@ -1081,11 +1081,20 @@
 : %7B%0A
-%09%09%09
+            
 noIn
@@ -1106,15 +1106,27 @@
 rue%0A
-%09%09%7D,%0A%09%09
+        %7D,%0A        
 repo
@@ -1158,18 +1158,24 @@
 rage'%5D,%0A
-%09%09
+        
 port: 98
@@ -1178,18 +1178,24 @@
 : 9876,%0A
-%09%09
+        
 colors: 
@@ -1200,18 +1200,24 @@
 : true,%0A
-%09%09
+        
 logLevel
@@ -1235,18 +1235,24 @@
 G_INFO,%0A
-%09%09
+        
 autoWatc
@@ -1260,18 +1260,24 @@
 : true,%0A
-%09%09
+        
 browsers
@@ -1290,18 +1290,24 @@
 rome'%5D,%0A
-%09%09
+        
 singleRu
@@ -1320,10 +1320,16 @@
 se,%0A
-%09%09
+        
 conc
@@ -1350,9 +1350,12 @@
 ity%0A
-%09
+    
 %7D)%0A%7D

fix eclint (test)