<commit_before>'use strict';

test(require('../')(__dirname));

require('../')
  .promise(__dirname)
  .then(test)
  .catch(err => console.log(`Error in async test`, err));

function test(requires = []) {
  if (requires.length !== 3) throw new Error('Invalid count');
}
<commit_msg>Added test message<commit_after>'use strict';

test(require('../')(__dirname));

require('../')
  .promise(__dirname)
  .then(test);

function test(requires = []) {
  if (requires.length !== 3) throw new Error('Invalid count');
}

console.log('Everything seems to have worked');

{'fraction_non_alphanumeric': 0.20855614973262032, 'fraction_numerical': 0.0035650623885918, 'mean_word_length': 4.793814432989691, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '7006407', 'n_tokens_mistral': 186, 'n_tokens_neox': 180, 'n_words': 43}