<commit_before>/* global describe,it */
'use strict';

var should = require('should');

describe('Helper functions', function () {
  var h = require('../lib/helper');<commit_msg>basic test from load of the index<commit_after>/* global describe,it */
'use strict';

var should = require('should');

describe('Helper functions', function () {
  var h = require('../lib/helper');

  describe('loading via index file', function () {
    var a = require('../index').helper;

    it('should exist the functions', function () {
      should.exist(a);
      (typeof(a.callError)).should.equal('function');
    });
  });
{'fraction_non_alphanumeric': 0.18657937806873978, 'fraction_numerical': 0.0, 'mean_word_length': 3.975609756097561, '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': '7515942', 'n_tokens_mistral': 177, 'n_tokens_neox': 172, 'n_words': 48}