<commit_before>"use strict"

window.assert = chai.assert;

// VideoController.js
describe("VideoController", function(){
  var $rootScope, $controller, $httpBackend, scope;

  // Load module publish and ngJSONPath
  beforeEach(function(){
    module("ov.publish");
    module("ngJSONPath");
  });

  // Dependencies injections
  beforeEach(inject(function(_$rootScope_, _$controller_, _$httpBackend_){
    $rootScope = _$rootScope_;
    $httpBackend = _$httpBackend_;
    $controller = _$controller_;
  }));

  // Initializes tests
  beforeEach(function(){
    scope = $rootScope.$new();
    $controller("VideoController", {
      $scope: scope,
      videos : {
        data : {
          entities : [
            { id : 1, status : 1, properties : [] },
            { id : 2, status : 1, properties : [] }
          ]
        }
      }<commit_msg>Add missing categories to VideoController unit test<commit_after>"use strict"

window.assert = chai.assert;

// VideoController.js
describe("VideoController", function(){
  var $rootScope, $controller, $httpBackend, scope;

  // Load module publish and ngJSONPath
  beforeEach(function(){
    module("ov.publish");
    module("ngJSONPath");
  });

  // Dependencies injections
  beforeEach(inject(function(_$rootScope_, _$controller_, _$httpBackend_){
    $rootScope = _$rootScope_;
    $httpBackend = _$httpBackend_;
    $controller = _$controller_;
  }));

  // Initializes tests
  beforeEach(function(){
    scope = $rootScope.$new();
    $controller("VideoController", {
      $scope: scope,
      videos : {
        data : {
          entities : [
            { id : 1, status : 1, properties : [] },
            { id : 2, status : 1, properties : [] }
          ]
        }
      },
      categories : {
        data : {
          entities : []
        }
      }
{'fraction_non_alphanumeric': 0.14199229499174462, 'fraction_numerical': 0.004402861860209136, 'mean_word_length': 2.578740157480315, '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': '5036990', 'n_tokens_mistral': 539, 'n_tokens_neox': 532, 'n_words': 113}