<commit_before>/* jshint expr: true */
'use strict';



var GetLogger = require('../../lib/GetLogger');
var es = require('elasticsearch');
var config = require('config');
var EsConnect = require('../../lib/EsConnect');
var logger = new GetLogger(process.env.NODE_ENV);

var bunyan = require('bunyan');
var chai = require('chai');
var sinon = require('sinon');
var sinonChai = require('sinon-chai');

var expect = chai.expect;
chai.use(sinonChai);


describe('EsConnect', function() {
<commit_msg>remove bunyan require from EsConnect.test.js<commit_after>/* jshint expr: true */
'use strict';



var GetLogger = require('../../lib/GetLogger');
var es = require('elasticsearch');
var config = require('config');
var EsConnect = require('../../lib/EsConnect');
var logger = new GetLogger(process.env.NODE_ENV);

var chai = require('chai');
var sinon = require('sinon');
var sinonChai = require('sinon-chai');

var expect = chai.expect;
chai.use(sinonChai);


describe('EsConnect', function() {

{'fraction_non_alphanumeric': 0.1856710393541877, 'fraction_numerical': 0.0, 'mean_word_length': 5.085889570552148, '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': '787455', 'n_tokens_mistral': 328, 'n_tokens_neox': 319, 'n_words': 81}