<commit_before>const jestCLI = {
  success: true,
  runCLI: jest.fn((config, rootDir, callback) => {
    callback(jestCLI.success);
  }),
};

module.exports = jestCLI;<commit_msg>Fix the unit tests<commit_after>const jestCLI = {
  success: true,
  runCLI: jest.fn(() => new Promise((resolve, reject) => {
    if (jestCLI.success) {
      resolve();
    } else {
      reject();
    }
  })),
};

module.exports = jestCLI;
{'fraction_non_alphanumeric': 0.17142857142857143, 'fraction_numerical': 0.0, 'mean_word_length': 3.3854166666666665, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '5362505', 'n_tokens_mistral': 153, 'n_tokens_neox': 149, 'n_words': 29}