<commit_before>module.exports = function(config) {
  config.set({
    frameworks: ["mocha", "sinon-chai"],
    preprocessors: {
      "**/*.js": ["webpack"],
    },
    webpack: require("./webpack.tests.config.js"),
    reporters: ["mocha"],
    mochaReporter: {
      output: "autowatch",
    },
  });
};
<commit_msg>Fix JS tests.<commit_after>module.exports = function(config) {
  config.set({
    frameworks: ["mocha", "sinon-chai"],
    preprocessors: {
      "js/**/*.js": ["webpack"],
    },
    webpack: require("./webpack.tests.config.js"),
    reporters: ["mocha"],
    mochaReporter: {
      output: "autowatch",
    },
  });
};

{'fraction_non_alphanumeric': 0.215962441314554, 'fraction_numerical': 0.0, 'mean_word_length': 2.9751552795031055, 'pattern_counts': {'":': 2, '<': 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': '5688833', 'n_tokens_mistral': 228, 'n_tokens_neox': 223, 'n_words': 34}