<commit_before>'use strict';

var HeaderLeftController = require('../../../../src/components/core/controller/CoreController');

describe('Components:Core:Controller:CoreController', function () {

  var createController, $q, $rootScope, locals;

  beforeEach(function () {
    var fakeWindow = {VideoPlayerCollection: {addPlayerById: jasmine.createSpy()}};
    angular.mock.module(function ($provide) {
      $provide.value('$window', fakeWindow);
    });
    angular.mock.inject(function ($injector) {
      var $controller = $injector.get('$controller');
      $q = $injector.get('$q');
      $rootScope = $injector.get('$rootScope');
      locals = {
        $window: fakeWindow
      };
      createController = function () {
        return $controller(HeaderLeftController, locals);
      };
    });
  });

  it('should init the Controller', function () {
    createController();
  });
<commit_msg>fix test for controller - no 3<commit_after>'use strict';

var HeaderLeftController = require('../../../../src/components/core/controller/CoreController');

describe('Components:Core:Controller:CoreController', function () {

  var createController, $q, $rootScope, locals;

  beforeEach(function () {
    var fakeWindow = {VideoPlayerCollection: {addPlayerById: jasmine.createSpy()}};
    //angular.mock.module(function ($provide) {
    //  $provide.value('$window', fakeWindow);
    //});
    angular.mock.inject(function ($injector) {
      var $controller = $injector.get('$controller');
      $q = $injector.get('$q');
      $rootScope = $injector.get('$rootScope');
      locals = {
        $window: fakeWindow
      };
      createController = function () {
        return $controller(HeaderLeftController, locals);
      };
    });
  });

  it('should init the Controller', function () {
    createController();
  });

{'fraction_non_alphanumeric': 0.16894477856752324, 'fraction_numerical': 0.0005467468562055768, 'mean_word_length': 3.485294117647059, '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': '1559530', 'n_tokens_mistral': 526, 'n_tokens_neox': 512, 'n_words': 95}