<commit_before>'use strict'

let expect = require('chai').expect;
let TwigBot = require('../src/TwigBot')

describe("TwigBot", function() {
  describe("Constructor", function() {
    it("should throw error if token is null", function() {
      expect(() => new TwigBot()).to.throw('Bot token must not be null or empty')
    })

    it("should throw error if token is empty string", function() {
      expect(() => new TwigBot('')).to.throw('Bot token must not be null or empty')
    })
  })
})<commit_msg>Formatting<commit_after>'use strict'

let expect = require('chai').expect
let TwigBot = require('../src/TwigBot')

describe('TwigBot', () => {
  describe('Constructor', () => {
    it('should throw error if token is null', () => {
      expect(() => new TwigBot()).to.throw('Bot token must not be null or empty')
    })

    it('should throw error if token is empty string', () => {
      expect(() => new TwigBot('')).to.throw('Bot token must not be null or empty')
    })
  })
})
{'fraction_non_alphanumeric': 0.18356997971602435, 'fraction_numerical': 0.0, 'mean_word_length': 3.6338028169014085, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '4353592', 'n_tokens_mistral': 299, 'n_tokens_neox': 296, 'n_words': 94}