<commit_before>'use strict'

const mocha = require('mocha')
const expect = require('chai').expect
const Messenger = require('../bin/app').default

describe('Bot', function () {
  let dummyToken = 'foo'

  describe('#initialization', function () {
    describe('#basics', function () {
      let bot = new Messenger(dummyToken)
      let goodBot = function () { return bot }
      let EventEmitter = require('events').EventEmitter

      it('should initialize without throwing errors', function () {
        expect(goodBot).to.not.throw(Error)
      })
      it('should initialize correctly', function () {
        expect(bot).to.exist
      })
      it('should extend from EventEmitter', function () {<commit_msg>refactor(test/basics): delete useless imports<commit_after>'use strict'

const expect = require('chai').expect
const Messenger = require('../bin/app').default

describe('Bot', function () {
  let dummyToken = 'foo'

  describe('#initialization', function () {
    describe('#basics', function () {
      let bot = new Messenger(dummyToken)
      let goodBot = function () { return bot }
      let EventEmitter = require('events').EventEmitter

      it('should initialize without throwing errors', function () {
        expect(goodBot).to.not.throw(Error)
      })
      it('should initialize correctly', function () {
        expect(bot).to.exist
      })
      it('should extend from EventEmitter', function () {
{'fraction_non_alphanumeric': 0.14225648213034336, 'fraction_numerical': 0.0, 'mean_word_length': 3.4485981308411215, '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': '5674280', 'n_tokens_mistral': 380, 'n_tokens_neox': 374, 'n_words': 98}