<commit_before>module.exports = (config) => {
	const fs = require('fs');

	let vendor = './dist/js/vendor.js';
	if(!fs.existsSync(vendor)) {
		vendor = './build/vendor.js';
	}

	let files = [
		vendor,
		{
			pattern: require.resolve('jasmine-jquery'),
			watched: false,
			served: true
		}
	];

	if(process.env.TEST_BUNDLE) {
		files.push('./dist/js/app.js');
	}
	else {
		files.push.apply(files, [
			'./tests/test_start.js',
			'./src/js/**/*.js'
		]);
	}

	files.push('./tests/**/*.test.js');

	let browsers = process.env.TEST_BROWSERS;
	if(!browsers) {
		browsers = ['Chromium'];
	}
	else {
		browsers = browsers.split(/\s+/);
	}

	config.set({
		basePath: '../',

		files: files,

		frameworks: ['jasmine'],

		reporters: ['spec'],
		specReporter: {
			maxLogLines: 5,
			suppressErrorSummary: true,
			suppressFailed: false,
			suppressPassed: false,
			suppressSkipped: true,
			showSpecTiming: false,
			failFast: false
		},

		port: 9876,

		colors: true,
		logLevel: config.LOG_INFO,

		autoWatch: true,
		singleRun: false,

		browsers: browsers
	});
};
<commit_msg>fix browser selection<commit_after>module.exports = (config) => {
	const fs = require('fs');

	let vendor = './dist/js/vendor.js';
	if(!fs.existsSync(vendor)) {
		vendor = './build/vendor.js';
	}

	let files = [
		vendor,
		{
			pattern: require.resolve('jasmine-jquery'),
			watched: false,
			served: true
		}
	];

	if(process.env.TEST_BUNDLE) {
		files.push('./dist/js/app.js');
	}
	else {
		files.push.apply(files, [
			'./tests/test_start.js',
			'./src/js/**/*.js'
		]);
	}

	files.push('./tests/**/*.test.js');

	let browsers = process.env.TEST_BROWSERS;
	if(browsers) {
		browsers = browsers.split(/\s+/);
	}
	if(!(browsers && browsers[0])) {
		browsers = ['Chromium'];
	}

	config.set({
		basePath: '../',

		files: files,

		frameworks: ['jasmine'],

		reporters: ['spec'],
		specReporter: {
			maxLogLines: 5,
			suppressErrorSummary: true,
			suppressFailed: false,
			suppressPassed: false,
			suppressSkipped: true,
			showSpecTiming: false,
			failFast: false
		},

		port: 9876,

		colors: true,
		logLevel: config.LOG_INFO,

		autoWatch: true,
		singleRun: false,

		browsers: browsers
	});
};

{'fraction_non_alphanumeric': 0.18912745545911375, 'fraction_numerical': 0.005025125628140704, 'mean_word_length': 3.1398865784499055, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6677239', 'n_tokens_mistral': 986, 'n_tokens_neox': 848, 'n_words': 145}