<commit_before>// Karma configuration for Unit testing

module.exports = function (config) {

  let browsers = ['PhantomJS'];
  if (!process.env.TRAVIS) {
    browsers.push('Chrome');
  }

  const configuration = {
    plugins: [
      require('karma-jasmine'),
      require('karma-phantomjs-launcher'),
      require('karma-chrome-launcher'),
      require('karma-webpack'),
      require('karma-sourcemap-loader'),
      require('karma-spec-reporter')
    ],

    frameworks: ['jasmine'],

    files: [
      {pattern: 'test.js', watched: false}
    ],

    preprocessors: {
      'test.js': ['webpack']
    },

    // webpack
    webpack: {
      devtool: 'eval-source-map',
      resolve: {
        extensions: ['.js', '.ts']
      },
      module: {
        rules: [
          {
            "enforce": "pre",
            "test": /\.js$/,
            "loader": "source-map-loader",
            "exclude": [
              /node_modules/
            ]
          },
          {
            test: /\.ts/,
            loaders: ['ts-loader'],
            "exclude": [
              /\.d\.ts$/,
              /node_modules/
            ]
          }
        ],
        exprContextCritical: false
      },
      performance: {hints: false}
    },

    webpackServer: {
      noInfo: true<commit_msg>Fixed test debugging in chrome<commit_after>// Karma configuration for Unit testing

module.exports = function (config) {

  let browsers = ['PhantomJS'];
  if (!process.env.TRAVIS) {
    browsers.push('Chrome');
  }

  const configuration = {
    plugins: [
      require('karma-jasmine'),
      require('karma-phantomjs-launcher'),
      require('karma-chrome-launcher'),
      require('karma-webpack'),
      require('karma-sourcemap-loader'),
      require('karma-spec-reporter')
    ],

    frameworks: ['jasmine'],

    files: [
      {pattern: 'test.js', watched: false}
    ],

    preprocessors: {
      'test.js': ['webpack']
    },

    // webpack
    webpack: {
      devtool: 'inline-source-map',
      resolve: {
        extensions: ['.js', '.ts']
      },
      module: {
        rules: [
          {
            "enforce": "pre",
            "test": /\.js$/,
            "loader": "source-map-loader",
            "exclude": [
              /node_modules/
            ]
          },
          {
            test: /\.ts/,
            loaders: ['ts-loader'],
            "exclude": [
              /\.d\.ts$/,
              /node_modules/
            ]
          }
        ],
        exprContextCritical: false
      },
      performance: {hints: false}
    },

    webpackServer: {
      noInfo: true
{'fraction_non_alphanumeric': 0.16009191880505552, 'fraction_numerical': 0.0, 'mean_word_length': 1.5091258405379442, 'pattern_counts': {'":': 10, '<': 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': '1944476', 'n_tokens_mistral': 827, 'n_tokens_neox': 778, 'n_words': 137}