<commit_before>/**
 * Saucelabs
 */

'use strict';

const got = require('got');
const capabilities = require('../capabilities');

// configurator: https://wiki.saucelabs.com/display/DOCS/Platform+Configurator?_ga=1.181659495.1907159436.1468141299#/
// chrome dev always fails with chromedriver error
const targets = [
  {
    'platform': 'Windows 7',
  },
  {
    'platform': 'Windows 7',
    'version': 'beta',
  },
  // {
  //   'platform': 'Windows 10',
  // },
];

exports.name = 'sauce';
exports.serverUrl = `http://ondemand.saucelabs.com:80/wd/hub`;
exports.capabilities = function () {
  return capabilities.get()
    .then(caps => {
      return targets.map(target => {
        return Object.assign({}, caps, target, {
          'username': process.env.SAUCE_USER,<commit_msg>selftest: defined chrome version explicitly latest<commit_after>/**
 * Saucelabs
 */

'use strict';

const got = require('got');
const capabilities = require('../capabilities');

// configurator: https://wiki.saucelabs.com/display/DOCS/Platform+Configurator?_ga=1.181659495.1907159436.1468141299#/
// chrome dev always fails with chromedriver error
const targets = [
  {
    'platform': 'Windows 7',
    'version': 'latest',
  },
  {
    'platform': 'Windows 7',
    'version': 'beta',
  },
  // {
  //   'platform': 'Windows 10',
  // },
];

exports.name = 'sauce';
exports.serverUrl = `http://ondemand.saucelabs.com:80/wd/hub`;
exports.capabilities = function () {
  return capabilities.get()
    .then(caps => {
      return targets.map(target => {
        return Object.assign({}, caps, target, {
          'username': process.env.SAUCE_USER,
{'fraction_non_alphanumeric': 0.17730061349693252, 'fraction_numerical': 0.044171779141104296, 'mean_word_length': 3.3609625668449197, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '6682116', 'n_tokens_mistral': 593, 'n_tokens_neox': 555, 'n_words': 104}