<commit_before>import HomeModule from "./home";

describe("Home", () => {
  let $rootScope, $componentController;

  beforeEach(window.module("Authentication")); //to load hookProvider
  beforeEach(window.module(HomeModule));

  beforeEach(inject(($injector) => {
    $rootScope = $injector.get("$rootScope");
    $componentController = $injector.get("$componentController");
  }));

  describe("Module", () => {
    // top-level specs: i.e., routes, injection, naming
  });

  describe("Controller", () => {
    // controller specs
    let controller;
    beforeEach(() => {
      controller = $componentController("home", {
        $scope: $rootScope.$new()
      });
    });

    it("has a name property", () => { // erase if removing this.name from the controller
      expect(controller).to.have.property("name");
    });
  });
<commit_msg>Replace Authentication string with import<commit_after>import HomeModule from "./home";
import Authentication from "../../common/authentication/authentication";

describe("Home", () => {
  let $rootScope, $componentController;

  beforeEach(window.module(Authentication)); //to load hookProvider
  beforeEach(window.module(HomeModule));

  beforeEach(inject(($injector) => {
    $rootScope = $injector.get("$rootScope");
    $componentController = $injector.get("$componentController");
  }));

  describe("Module", () => {
    // top-level specs: i.e., routes, injection, naming
  });

  describe("Controller", () => {
    // controller specs
    let controller;
    beforeEach(() => {
      controller = $componentController("home", {
        $scope: $rootScope.$new()
      });
    });

    it("has a name property", () => { // erase if removing this.name from the controller
      expect(controller).to.have.property("name");
    });
  });

{'fraction_non_alphanumeric': 0.17942984907769705, 'fraction_numerical': 0.0, 'mean_word_length': 3.6493506493506493, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '3817886', 'n_tokens_mistral': 514, 'n_tokens_neox': 496, 'n_words': 102}