<commit_before>"use strict";

global.window = global;
global.assert = require("power-assert");
global.sinon  = require("sinon");

require("espower-loader")({
  cwd: process.cwd(),
  pattern: "test/**/*.js"
});

global.Promise = require("promise");

global.XMLHttpRequest = (function() {
  function XMLHttpRequest() {
  }<commit_msg>add global.navigator<commit_after>"use strict";

global.window = global;
global.assert = require("power-assert");
global.sinon  = require("sinon");

require("espower-loader")({
  cwd: process.cwd(),
  pattern: "test/**/*.js"
});

global.navigator = {};

global.Promise = require("promise");

global.XMLHttpRequest = (function() {
  function XMLHttpRequest() {
  }
{'fraction_non_alphanumeric': 0.19568345323741007, 'fraction_numerical': 0.0, 'mean_word_length': 5.327272727272727, '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': '7362704', 'n_tokens_mistral': 231, 'n_tokens_neox': 231, 'n_words': 40}