<commit_before>var webpack = require('webpack');
var path = require('path');

module.exports = function (config) {
  config.set({

    browsers: [ 'Chrome' ],

    singleRun: true,

    frameworks: [ 'mocha' ],

    files: [
      './resources/assets/tests/index.js'
    ],

    preprocessors: {
      './resources/assets/tests/index.js': [ 'webpack', 'sourcemap' ]
    },
 

    reporters: [ 'mocha' ],

    webpack: { //kind of a copy of your webpack config
        devtool: 'inline-source-map', //just do inline source maps instead of the default
        module: {
            preLoaders: [
              {
                  test: /\.js$/,
                  exclude: [<commit_msg>karma.config: clean up a bit<commit_after>var webpack = require('webpack');
var path = require('path');

module.exports = function (config) {
  config.set({

    browsers: [ 'Chrome' ],

    singleRun: true,

    frameworks: [ 'mocha' ],

    files: [
      './resources/assets/tests/index.js'
    ],

    preprocessors: {
      './resources/assets/tests/index.js': [ 'webpack', 'sourcemap' ]
    },
 

    reporters: [ 'mocha' ],

    webpackServer: {
      noInfo: true // Suppress all webpack messages, except errors
    },

    webpack: { //kind of a copy of your webpack config
        devtool: 'inline-source-map', //just do inline source maps instead of the default
        module: {
            preLoaders: [
              {
                  test: /\.js$/,
                  exclude: [
{'fraction_non_alphanumeric': 0.14353419092755584, 'fraction_numerical': 0.0, 'mean_word_length': 1.9738430583501005, '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': '7097551', 'n_tokens_mistral': 464, 'n_tokens_neox': 440, 'n_words': 111}