<commit_before>/*
 * Copyright (c) 2017, <NAME> <<EMAIL>>.
 *
 * This source code is licensed under the license found in the
 * LICENSE file in the root directory of this source tree.
 */

const Promise = require('bluebird')

const chai = require('chai')
chai.use(require('chai-as-promised'))
chai.config.includeStack = true

const td = require('testdouble')
td.config({
  promiseConstructor: Promise,
  ignoreWarnings: true
})

global.should = chai.should()
global.td = td
<commit_msg>test: add lodash to global<commit_after>/*
 * Copyright (c) 2017, <NAME> <<EMAIL>>.
 *
 * This source code is licensed under the license found in the
 * LICENSE file in the root directory of this source tree.
 */

const _ = require('lodash')
const Promise = require('bluebird')

const chai = require('chai')
chai.use(require('chai-as-promised'))
chai.config.includeStack = true

const td = require('testdouble')
td.config({
  promiseConstructor: Promise,
  ignoreWarnings: true
})

global._ = _
global.should = chai.should()
global.td = td

{'fraction_non_alphanumeric': 0.13255360623781676, 'fraction_numerical': 0.007797270955165692, 'mean_word_length': 4.551351351351351, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '7268617', 'n_tokens_mistral': 330, 'n_tokens_neox': 324, 'n_words': 103}