<commit_before>/* eslint require-jsdoc: 0 */
module.exports = function(config) {
  const configuration = {
    basePath: '',
    frameworks: ['mocha', 'chai-spies', 'chai'],
    files: [
      'node_modules/@webcomponents/webcomponentsjs/webcomponents-sd-ce.js',
      'node_modules/simulant/dist/simulant.umd.js',
      'dist/x-slider-test.js',
      'test/helpers/testing-helper.js',
      'test/swipe.js',
    ],
    preprocessors: {},
    reporters: ['progress', 'coverage', 'coveralls'],
    port: 9876,
    colors: true,
    logLevel: config.LOG_INFO,
    autoWatch: true,
    singleRun: true,
    browsers: ['FirefoxHeadless'],
    concurrency: Infinity,
    // to avoid DISCONNECTED messages
    browserDisconnectTimeout: 10 * 1000, // default 2000
    browserDisconnectTolerance: 1, // default 0
    browserNoActivityTimeout: 4 * 60 * 1000, // default 10000
    captureTimeout: 4 * 60 * 1000, // default 60000,
    processKillTimeout: 10 * 1000, // default 2000

    customLaunchers: {
      FirefoxHeadless: {
        base: 'Firefox',
        flags: [
          '-headless',
        ],
      },
    },
<commit_msg>GH-37 feat(tests): back to karma defaults<commit_after>/* eslint require-jsdoc: 0 */
module.exports = function(config) {
  const configuration = {
    basePath: '',
    frameworks: ['mocha', 'chai-spies', 'chai'],
    files: [
      'node_modules/@webcomponents/webcomponentsjs/webcomponents-sd-ce.js',
      'node_modules/simulant/dist/simulant.umd.js',
      'dist/x-slider-test.js',
      'test/helpers/testing-helper.js',
      'test/*.js',
    ],
    preprocessors: {},
    reporters: ['progress', 'coverage', 'coveralls'],
    port: 9876,
    colors: true,
    logLevel: config.LOG_INFO,
    autoWatch: true,
    singleRun: true,
    browsers: ['ChromeHeadless', 'FirefoxHeadless', 'Safari'],
    concurrency: Infinity,

    // to avoid DISCONNECTED messages
    browserDisconnectTimeout: 10 * 1000, // default 2000
    browserDisconnectTolerance: 1, // default 0
    browserNoActivityTimeout: 4 * 60 * 1000, // default 10000
    captureTimeout: 4 * 60 * 1000, // default 60000,
    processKillTimeout: 10 * 1000, // default 2000

    customLaunchers: {
      FirefoxHeadless: {
        base: 'Firefox',
        flags: [
          '-headless',
        ],
      },
    },

{'fraction_non_alphanumeric': 0.1421121251629726, 'fraction_numerical': 0.04519774011299435, 'mean_word_length': 2.7249190938511325, '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': '3163470', 'n_tokens_mistral': 838, 'n_tokens_neox': 736, 'n_words': 155}