<commit_before>var js_files = require('../files/js_files');

module.exports = {
  cartodbui: {
    src: js_files.all.concat([
      'lib/build/user_data.js',
      '<%= assets_dir %>/javascripts/templates_mustache.js',
      '<%= assets_dir %>/javascripts/templates.js',
      'lib/build/test_init.js']),
    options: {
      browser: 'chrome',
      headless: true,
      keepRunner: true, // do not delete the runner (added to gitignore anyway), makes sure the runner is up-to-date
      outfile: '_SpecRunner.html',
      host: 'http://localhost:8088',
      summary: true,
      display: 'short',
      specs: js_files.specs,
      helpers: ['http://maps.googleapis.com/maps/api/js?sensor=false&v=3.12'].concat(js_files._spec_helpers)
    // '--remote-debugger-port': 9000
    }
  },

  affected: {
    options: {
      browser: 'chrome',
      headless: true,
      timeout: 20000,
      keepRunner: true,
      outfile: '_SpecRunner-affected.html',
      host: 'http://localhost:8088',
      summary: true,
      display: 'short',
      helpers: js_files._spec_helpers3,
      specs: [
        '.grunt/vendor.affected-specs.js',
        '.grunt/main.affected-specs.js'
      ],
      vendor: [
        'node_modules/jasmine-ajax/lib/mock-ajax.js',
        'node_modules/underscore/underscore-min.js']
    }
  }
};<commit_msg>report tests slower than 2 seconds<commit_after>var js_files = require('../files/js_files');

module.exports = {
  cartodbui: {
    src: js_files.all.concat([
      'lib/build/user_data.js',
      '<%= assets_dir %>/javascripts/templates_mustache.js',
      '<%= assets_dir %>/javascripts/templates.js',
      'lib/build/test_init.js']),
    options: {
      browser: 'chrome',
      headless: true,
      keepRunner: true, // do not delete the runner (added to gitignore anyway), makes sure the runner is up-to-date
      outfile: '_SpecRunner.html',
      host: 'http://localhost:8088',
      summary: true,
      display: 'short',
      specs: js_files.specs,
      helpers: ['http://maps.googleapis.com/maps/api/js?sensor=false&v=3.12'].concat(js_files._spec_helpers)
    // '--remote-debugger-port': 9000
    }
  },

  affected: {
    options: {
      browser: 'chrome',
      headless: true,
      timeout: 20000,
      keepRunner: true,
      outfile: '_SpecRunner-affected.html',
      host: 'http://localhost:8088',
      summary: true,
      display: 'short',
      helpers: js_files._spec_helpers3,
      reportSlowerThan: 2000,
      specs: [
        '.grunt/vendor.affected-specs.js',
        '.grunt/main.affected-specs.js'
      ],
      vendor: [
        'node_modules/jasmine-ajax/lib/mock-ajax.js',
        'node_modules/underscore/underscore-min.js']
    }
  }
};
{'fraction_non_alphanumeric': 0.1555473645410984, 'fraction_numerical': 0.017323995576852193, 'mean_word_length': 2.5338541666666665, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5255728', 'n_tokens_mistral': 964, 'n_tokens_neox': 914, 'n_words': 157}