// Karma for Jasmine testing framework.
// https://github.com/webpack/karma-webpack
var path = require('path');

module.exports = function(config) {
	config.set({
		// base path, that will be used to resolve files and exclude
		'basePath': '../test/units/',

		// frameworks to use
		'frameworks': ['jasmine'],

		// start these browsers, currently available:
		// - Chrome
		// - ChromeCanary
		// - Firefox
		// - Opera (has to be installed with `npm install karma-opera-launcher`)
		// - Safari (only Mac; has to be installed with `npm install karma-safari-launcher`)
		// - PhantomJS
		// - IE (only Windows; has to be installed with `npm install karma-ie-launcher`)
		'browsers': ['Chrome', 'Safari'],
		// browsers: ['Firefox'],

		// list of files to load in the browser
		'files': [
			'index.js'
		],

		// enable / disable watching file and executing tests whenever any file changes
		'autoWatch': true,

		// Continuous Integration mode
		// if true, it capture browsers, run tests and exit
		'singleRun': true,

		// list of preprocessors
		'preprocessors': {
			'index.js': ['webpack', 'sourcemap']
		},

		'webpack': {
			'devtool': 'inline-source-map',
			'resolve': {
				'alias': {
					'src': path.resolve(__dirname, '../src'),
					'mvvm': path.resolve(__dirname, '../src/mvvm/index')
				}
			}
		},

		'webpackMiddleware': {
			'noInfo': true
		},

	    // test results reporter to use
		// possible values: 'spec', 'dots', 'progress', 'junit', 'growl', 'coverage'
		'reporters': ['spec']
	});
}
@@ -690,22 +690,23 @@
 rome', '
-Safari
+Firefox
 '%5D,%0A%09%09//
@@ -706,24 +706,25 @@
 %5D,%0A%09%09// 
+'
 browsers
 : %5B'Fire
@@ -719,19 +719,19 @@
 sers
+'
 : %5B'
-Firefox
+Safari
 '%5D,%0A
@@ -1109,24 +1109,44 @@
 map'%5D%0A%09%09%7D,%0A%0A
+%09%09// webpack config%0A
 %09%09'webpack':
@@ -1336,16 +1336,47 @@
 %7D%0A%09%09%7D,%0A%0A
+%09%09// webpack middleware config%0A
 %09%09'webpa
@@ -1421,12 +1421,9 @@
 ,%0A%0A%09
-    
+%09
 // t

Update unit test config