<commit_before>'use strict';

module.exports = function (karmaConfig) {
  karmaConfig.set({
    /** 
     * From where to look for files, starting with the location of this file.
     */
    basePath: '../',

    /**
     * This is the list of file patterns to load into the browser during testing.
     */
    files: [
      <%= scripts.map(function(file) { return '\'' + file + '\'' }).join(',\n      ') %>
    ],

    frameworks: [ 'jasmine' ],
    plugins: [
      'karma-jasmine',
      'karma-junit-reporter',
      'karma-phantomjs-launcher',
      'karma-firefox-launcher',
      'karma-safari-launcher',
      'karma-opera-launcher',
      'karma-ie-launcher'
    ],

    /**
     * How to report, by default.
     */
    reporters: [
      'progress'
    ],

    junitReporter: {
      outputFile: '<%= junit_results %>'
    },

    /**
     * On which port should the browser connect and what is the URL path for the browser to use.
     */
    port: <%= port %>,
    urlRoot: '/',

    autoWatch: false,

    /**<commit_msg>fix(spec): add karma-chrome-launcher plugin to karma config to be able to launch chrome automatically<commit_after>'use strict';

module.exports = function (karmaConfig) {
  karmaConfig.set({
    /** 
     * From where to look for files, starting with the location of this file.
     */
    basePath: '../',

    /**
     * This is the list of file patterns to load into the browser during testing.
     */
    files: [
      <%= scripts.map(function(file) { return '\'' + file + '\'' }).join(',\n      ') %>
    ],

    frameworks: [ 'jasmine' ],
    plugins: [
      'karma-jasmine',
      'karma-junit-reporter',
      'karma-phantomjs-launcher',
      'karma-chrome-launcher',
      'karma-firefox-launcher',
      'karma-safari-launcher',
      'karma-opera-launcher',
      'karma-ie-launcher'
    ],

    /**
     * How to report, by default.
     */
    reporters: [
      'progress'
    ],

    junitReporter: {
      outputFile: '<%= junit_results %>'
    },

    /**
     * On which port should the browser connect and what is the URL path for the browser to use.
     */
    port: <%= port %>,
    urlRoot: '/',

    autoWatch: false,

    /**
{'fraction_non_alphanumeric': 0.15244180739388408, 'fraction_numerical': 0.0, 'mean_word_length': 2.0657342657342657, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '643336', 'n_tokens_mistral': 740, 'n_tokens_neox': 696, 'n_words': 178}