<commit_before>'use strict';

/**
 * Test environment overrides.
 *
 * Ignoring no-param-reassign eslint rule because it's exactly what we want here.
 */

/* eslint-disable no-param-reassign */

module.exports = (locals) => {
  // Randomize port for test runner.
  // Port 0 means random port.
  locals.express.port = 0;
};
<commit_msg>Link docs for http.listen port 0 rule<commit_after>'use strict';

/**
 * Test environment overrides.
 *
 * Ignoring no-param-reassign eslint rule because it's exactly what we want here.
 */

/* eslint-disable no-param-reassign */

module.exports = (locals) => {
  // Randomize port for test runner.
  // Port 0 means random port:
  // https://nodejs.org/api/http.html#http_server_listen_port_hostname_backlog_callback
  locals.express.port = 0;
};

{'fraction_non_alphanumeric': 0.1288265306122449, 'fraction_numerical': 0.006377551020408163, 'mean_word_length': 3.4350282485875705, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '1178085', 'n_tokens_mistral': 257, 'n_tokens_neox': 251, 'n_words': 71}