<commit_before>describe('Utils: ', function() {
  var $rootScope,
      $scope,
      $controller,
      $firebaseArray,
      board,
      utils;

  beforeEach(angular.mock.module('fireideaz'));

  beforeEach(inject(function($injector){

    $rootScope = $injector.get('$rootScope');
    $scope = $rootScope.$new();
    inject(function($injector) {
      utils = $injector.get('Utils');
    });
  }));

  it('should create an user ID with random characters', function(){
    var count = 0.001;
    sinon.stub(Math, 'random', function () {
      count = count + 0.054;
      return count;
    });

    expect(utils.createUserId()).to.equal('bdfhj');
  });<commit_msg>fix test<commit_after>describe('Utils: ', function() {
  var $rootScope,
      $scope,
      $controller,
      $firebaseArray,
      board,
      utils;

  beforeEach(angular.mock.module('fireideaz'));

  beforeEach(inject(function($injector){

    $rootScope = $injector.get('$rootScope');
    $scope = $rootScope.$new();
    inject(function($injector) {
      utils = $injector.get('Utils');
    });
  }));

  it('should create an user ID with random characters', function(){
    var count = 0.001;
    sinon.stub(Math, 'random', function () {
      count = count + 0.054;
      return count;
    });

    expect(utils.createUserId()).to.equal('bdfhjln');
  });
{'fraction_non_alphanumeric': 0.17430503380916604, 'fraction_numerical': 0.012021036814425245, 'mean_word_length': 3.111111111111111, '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': '5241488', 'n_tokens_mistral': 443, 'n_tokens_neox': 424, 'n_words': 79}