<commit_before>const {SourceMapDevToolPlugin} = require('webpack');

module.exports = (config) => {
	config.set({
		basePath: '',
		frameworks: ['mocha'],
		files: [
			'test/unit/*.@(ls|js|jsx)',
		],
		exclude: [],
		preprocessors: {
			'**/*.@(js|jsx|ls)': ['webpack', 'sourcemap'],
		},
		webpack: {
			devtool: 'inline-source-map',
			module: {
				loaders: [{
					test: /\.jsx?$/,
					loader: 'babel-loader',
					exclude: /node_modules/,
				}, {
					test: /\.ls$/,
					loader: 'livescript-loader',
				}],
			},
			resolve: {
				mainFields: ['browser', 'main'],<commit_msg>Import react-hammerjs config to karma<commit_after>const path = require('path');
const {SourceMapDevToolPlugin} = require('webpack');

module.exports = (config) => {
	config.set({
		basePath: '',
		frameworks: ['mocha'],
		files: [
			'test/unit/*.@(ls|js|jsx)',
		],
		exclude: [],
		preprocessors: {
			'**/*.@(js|jsx|ls)': ['webpack', 'sourcemap'],
		},
		webpack: {
			devtool: 'inline-source-map',
			module: {
				loaders: [{
					test: /\.jsx?$/,
					loader: 'babel-loader',
					exclude: /node_modules/,
				}, {
					test: /\.js$/,
					include: [
						path.resolve(__dirname, 'node_modules/react-hammerjs'),
					],
					loader: 'babel-loader',
					options: {
						plugins: [
							'transform-class-properties',
						],
						babelrc: false,
					},
				}, {
					test: /\.ls$/,
					loader: 'livescript-loader',
				}],
			},
			resolve: {
				mainFields: ['browser', 'main'],
{'fraction_non_alphanumeric': 0.21906693711967545, 'fraction_numerical': 0.0, 'mean_word_length': 2.654320987654321, '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': '7168523', 'n_tokens_mistral': 711, 'n_tokens_neox': 537, 'n_words': 88}