{"size": 1117, "ext": "js", "max_stars_repo_path": "karma.conf.js", "max_stars_repo_name": "taitulism/resizable", "max_stars_repo_stars_event_min_datetime": "2020-10-10T23:45:10.000Z", "max_stars_repo_stars_event_max_datetime": "2020-10-25T08:57:20.000Z", "max_issues_repo_path": "karma.conf.js", "max_issues_repo_name": "taitulism/resizable", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "karma.conf.js", "max_forks_repo_name": "taitulism/resizable", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.6166666667, "max_line_length": 60, "alphanum_fraction": 0.5801253357}
/* possible `logLevel` values:
 	* config.LOG_DISABLE
 	* config.LOG_ERROR
 	* config.LOG_WARN
 	* config.LOG_INFO
 	* config.LOG_DEBUG
*/
module.exports = function (config) {
	config.set({
		logLevel: config.LOG_INFO,
		basePath: '',
		port: 9876,
		concurrency: Infinity,
		colors: true,
		singleRun: true,
		autoWatch: false,
		frameworks: ['mocha', 'chai'],
		reporters: ['mocha'],
		files: [
			{ pattern: 'index.js', watched: false },
			{ pattern: 'tests/specs/index.spec.js', watched: false },
		],
		preprocessors: {
			'index.js': ['rollup'],
			'tests/specs/index.spec.js': ['rollup'],
		},
		rollupPreprocessor: {
			output: {
				format: 'iife',
				name: 'resizable',
			},
		},
		client: {
			clearContext: false,
			mocha: {
				reporter: 'html',
				timeout: 2000,
			},
		},
		browsers: [
			'HeadlessChrome',
			// 'ChromeWithGUI',
		],
		customLaunchers: {
			HeadlessChrome: {
				base: 'ChromeHeadless',
				flags: ['--no-sandbox']
			},
			ChromeWithGUI: {
				base: 'Chrome',
				flags: [
					'--no-sandbox',
					'--disable-gpu',
					'--remote-debugging-port-9222'
				]
			},
		},
	});
};
