<commit_before>var allTestFiles = [];
var TEST_REGEXP = /(spec|test)\.js$/i;

Object.keys(window.__karma__.files).forEach(function(file) {
	if (TEST_REGEXP.test(file)) {
		// Normalize paths to RequireJS module names.
		allTestFiles.push(file);
	}
});

require.config({
	// Karma serves files under /base, which is the basePath from your config file
	baseUrl: '/base',
	//baseUrl: 'js/',
	paths: {
		matreshka_dir: 'src',
		matreshka: 'src/amd-modules/matreshka',
		bquery: 'src/amd-modules/bquery',
		xclass: 'src/amd-modules/xclass',
		'matreshka-magic': 'src/amd-modules/matreshka-magic',
		'matreshka-prod': 'matreshka',
		'matreshka-prod-min': 'matreshka.min',
		'magic-prod': 'magic/matreshka-magic',
		'magic-prod-min': 'magic/matreshka-magic.min'
	},
	// dynamically load all test files
	deps: allTestFiles,

	// we have to kickoff jasmine, as it is asynchronous
	callback: window.__karma__.start
});<commit_msg>trying to fix failing on travis<commit_after>var allTestFiles = [];
var TEST_REGEXP = /(spec|test)\.js$/i;

Object.keys(window.__karma__.files).forEach(function(file) {
	if (TEST_REGEXP.test(file)) {
		// Normalize paths to RequireJS module names.
		allTestFiles.push(file);
	}
});

jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000;

require.config({
	// Karma serves files under /base, which is the basePath from your config file
	baseUrl: '/base',
	//baseUrl: 'js/',
	paths: {
		matreshka_dir: 'src',
		matreshka: 'src/amd-modules/matreshka',
		bquery: 'src/amd-modules/bquery',
		xclass: 'src/amd-modules/xclass',
		'matreshka-magic': 'src/amd-modules/matreshka-magic',
		'matreshka-prod': 'matreshka',
		'matreshka-prod-min': 'matreshka.min',
		'magic-prod': 'magic/matreshka-magic',
		'magic-prod-min': 'magic/matreshka-magic.min'
	},
	// dynamically load all test files
	deps: allTestFiles,

	// we have to kickoff jasmine, as it is asynchronous
	callback: window.__karma__.start
});
{'fraction_non_alphanumeric': 0.1604418726985797, 'fraction_numerical': 0.0026301946344029457, 'mean_word_length': 4.357746478873239, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1155267', 'n_tokens_mistral': 754, 'n_tokens_neox': 696, 'n_words': 147}