<commit_before>module.exports = function (config) {
  config.set({
    basePath: '.',
    frameworks: ['mocha', 'sinon-chai'],
    files: [
      'app/scripts/**/__tests__/*'
    ],
    preprocessors: {
      'app/scripts/**/__tests__/*': ['webpack']
    },
    webpack: require('./webpack.config.js'),
    singleRun: process.env.TRAVIS_CI === 'true',
    browsers: [(process.env.TRAVIS_CI === 'true' ? 'Firefox' : 'Chrome')],
    reporters: ['nyan'],
    plugins: [
      require('karma-webpack'),
      require('karma-mocha'),
      require('karma-sinon-chai'),
      require('karma-chrome-launcher'),
      require('karma-firefox-launcher'),
      require('karma-nyan-reporter')
    ]
  })
}<commit_msg>Update test config.<commit_after>'use strict'

module.exports = (karma) =>
  karma.set({
    basePath: '.',
    frameworks: ['mocha', 'sinon-chai'],
    files: [
      'app/scripts/**/__tests__/*'
    ],
    preprocessors: {
      'app/scripts/**/__tests__/*': ['webpack']
    },
    webpack: require('./webpack.config.js'),
    webpackMiddleware: {
      noInfo: true
    },
    singleRun: process.env.TRAVIS_CI === 'true',
    browsers: ['PhantomJS'],
    reporters: ['nyan']
  })
{'fraction_non_alphanumeric': 0.2053872053872054, 'fraction_numerical': 0.0, 'mean_word_length': 2.898360655737705, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '3338664', 'n_tokens_mistral': 422, 'n_tokens_neox': 415, 'n_words': 60}