module.exports = function (config) {
	config.set({
		basePath : '',
		frameworks: ['jasmine', 'requirejs'],
//	        files: [
//			'../lib/**/*.js',
//			'../test/spec/*.js'
//	        ],
        exclude: [
			'lib/requireconfig.js',
			'test/karma.conf.js'
        ],
		browsers : ['PhantomJS'],
		reporters : ['progress', 'spec', 'coverage', 'html'],
		preprocessors: {
			'../lib/**/*.js': 'coverage'
		},
		coverageReporter: {
			type : 'text'//,
			//dir : 'coverage/'
		},
		htmlReporter: {
			outputFile: 'results/unit-tests.html'
		},
		singleRun: true,
		plugins : [
			'karma-spec-reporter',
			'karma-phantomjs-launcher',
			'karma-jasmine',
			'karma-coverage',
			'karma-htmlfile-reporter'
		]
	});
};

@@ -665,27 +665,36 @@
 -coverage',%0A
-%09%09%09
+            
 'karma-htmlf
@@ -706,16 +706,47 @@
 eporter'
+,%0A            'karma-requirejs'
 %0A%09%09%5D%0A%09%7D)

include requirejs as plugin