<commit_before>'use strict';

/* eslint import/no-require:0 */
var pkg = require('./package.json');
var globby = require('globby');

module.exports = function (config) {
  config.set({
    frameworks: [
      'mocha',
      'browserify'
    ],
    files: globby.sync([
      'node_modules/babel-polyfill/dist/polyfill.min.js',
      './src/**/*.js',
      './test/unit/**/*.js',
      '!./src/index.js',
      '!./src/util/execution-context.js',
      '!./src/plugins/resolver.js',
      '!./src/options/rc.js'
    ]),
    preprocessors: {
      './src/**/*.js': ['browserify'],
      './test/**/*.js': ['browserify']
    },
    browserify: {
      debug: true,
      transform: pkg.browserify.transform
    },
    reporters: [
      'mocha'
    ],
    logLevel: 'WARN',
    autoWatch: true,
    browsers: ['PhantomJS'],
    singleRun: false
  });
};<commit_msg>fix karma config<commit_after>'use strict';

/* eslint import/no-require:0 */
var globby = require('globby');

module.exports = function (config) {
  config.set({
    frameworks: [
      'mocha',
      'browserify',
      'source-map-support'
    ],
    files: globby.sync([
      'node_modules/babel-polyfill/dist/polyfill.min.js',
      './src/**/*.js',
      './test/unit/**/*.js',
      '!./src/index.js',
      '!./src/util/execution-context.js',
      '!./src/plugins/resolver.js',
      '!./src/options/rc.js'
    ]),
    preprocessors: {
      './src/**/*.js': ['browserify'],
      './test/**/*.js': ['browserify']
    },
    browserify: {
      debug: true,
      transform: [
        [
          'babelify',
          {
            sourceMapRelative: '.'
          }
        ]
      ]
    },
    reporters: [
      'mocha'
    ],
    logLevel: 'WARN',
    autoWatch: true,
    browsers: ['PhantomJS'],
    singleRun: false
  });
};
{'fraction_non_alphanumeric': 0.21119733924611975, 'fraction_numerical': 0.0011086474501108647, 'mean_word_length': 1.959016393442623, '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': '2430193', 'n_tokens_mistral': 640, 'n_tokens_neox': 632, 'n_words': 93}