<commit_before>var argv = require('yargs').argv;

module.exports = {
  testTimeout: 180 * 1000,
  registerHooks: function(context) {
    var saucelabsPlatforms = [
      'macOS 10.12/iphone@10.3',
      // 'Windows 10/microsoftedge@14',
      // 'Windows 10/internet explorer@11',
      'macOS 10.12/safari@10.0'
    ];

    var cronPlatforms = [
      'Windows 10/chrome@55',
      'Windows 10/firefox@54'
    ];

    if (argv.env === 'saucelabs') {
      context.options.plugins.sauce.browsers = saucelabsPlatforms.concat(cronPlatforms);

    } else if (argv.env === 'saucelabs-cron') {
      context.options.plugins.sauce.browsers = cronPlatforms;

    // Add coverage for local tests only
    } else {
      context.options.plugins.istanbul = {
        'dir': './coverage',
        'reporters': ['text-summary', 'lcov'],
        'include': [
          '/vaadin-grid-active-item-mixin.html',
          '/vaadin-grid-array-data-provider-mixin.html',
          '/vaadin-grid-cell-click-mixin.html',<commit_msg>Enable Edge tests<commit_after>var argv = require('yargs').argv;

module.exports = {
  testTimeout: 180 * 1000,
  registerHooks: function(context) {
    var saucelabsPlatforms = [
      'macOS 10.12/iphone@10.3',
      'Windows 10/microsoftedge@14',
      // 'Windows 10/internet explorer@11',
      'macOS 10.12/safari@10.0'
    ];

    var cronPlatforms = [
      'Windows 10/chrome@55',
      'Windows 10/firefox@54'
    ];

    if (argv.env === 'saucelabs') {
      context.options.plugins.sauce.browsers = saucelabsPlatforms.concat(cronPlatforms);

    } else if (argv.env === 'saucelabs-cron') {
      context.options.plugins.sauce.browsers = cronPlatforms;

    // Add coverage for local tests only
    } else {
      context.options.plugins.istanbul = {
        'dir': './coverage',
        'reporters': ['text-summary', 'lcov'],
        'include': [
          '/vaadin-grid-active-item-mixin.html',
          '/vaadin-grid-array-data-provider-mixin.html',
          '/vaadin-grid-cell-click-mixin.html',
{'fraction_non_alphanumeric': 0.15719228868017796, 'fraction_numerical': 0.0365793376173999, 'mean_word_length': 2.5759717314487633, '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': '6663298', 'n_tokens_mistral': 762, 'n_tokens_neox': 685, 'n_words': 109}