All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.src.core.root-element.spec.js Maven / Gradle / Ivy

import { JQLite, dealoc } from "../shared/jqlite/jqlite";
import { Angular } from "../loader";

describe("$rootElement", () => {
  let angular = new Angular();

  it("should publish the bootstrap element into $rootElement", () => {
    const element = JQLite("
"); const injector = angular.bootstrap(element); expect(injector.get("$rootElement")[0]).toBe(element[0]); dealoc(element); }); });




© 2015 - 2025 Weber Informatics LLC | Privacy Policy