<commit_before>const webpackConfig = require('./webpack.config.test.js');

const travis = process.env.TRAVIS;

module.exports = function karmaConfig(config) {
  config.set({
    // If running in travis, use custom chrome
    browsers: travis ? ['PhantomJS', 'Chrome_travis_ci'] : ['PhantomJS', 'Chrome'],
    frameworks: ['mocha', 'sinon-chai'],
    reporters: ['spec', 'coverage'],
    files: ['../specs/*.{vue,js}'],
    preprocessors: {
      '../specs/*.{vue,js}': ['webpack', 'sourcemap'],<commit_msg>Only run Karma tests in Phantom if ENV= Travis<commit_after>const webpackConfig = require('./webpack.config.test.js');

const travis = process.env.TRAVIS;

module.exports = function karmaConfig(config) {
  config.set({
    // If running in travis, use custom chrome
    browsers: travis ? ['PhantomJS'] : ['PhantomJS', 'Chrome'],
    frameworks: ['mocha', 'sinon-chai'],
    reporters: ['spec', 'coverage'],
    files: ['../specs/*.{vue,js}'],
    preprocessors: {
      '../specs/*.{vue,js}': ['webpack', 'sourcemap'],
{'fraction_non_alphanumeric': 0.19902439024390245, 'fraction_numerical': 0.0, 'mean_word_length': 4.029411764705882, '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': '336395', 'n_tokens_mistral': 356, 'n_tokens_neox': 352, 'n_words': 76}