// jshint camelcase: false
(function () {
	'use strict';

	// Make async
	window.__karma__.loaded = function () {};

	require.config({

		// Set baseUrl for Karma
		baseUrl: 'http://localhost:9876/base/js/',

		deps: ['config']
	});

	// Load the example spec, add your own specifications here
	require([
		'../test/specs/example.spec'
	], window.__karma__.start);
}());

// jshint camelcase: false
(function () {
	'use strict';

	// Make async
	window.__karma__.loaded = function () {};

	// Set the flag for test environment
	window.__test = true;

	// RequireJS Configuration
	require.config({

		// Set baseUrl for Karma
		baseUrl: 'http://localhost:9876/base/js/',

		deps: ['config']
	});

	// Load the example spec, add your own specifications here
	require([
		'../test/specs/example.spec'
	], window.__karma__.start);
}());

Set a `__test` flag when running tests with karma
Set a `__test` flag when running tests with karma
