GetTestability

interface experimental

npm Package @angular/core
Module import { GetTestability } from '@angular/core';
Source core/src/testability/testability.ts

Interface Overview

interface GetTestability { 
  addToWindow(registry: TestabilityRegistry): void
  findTestabilityInTree(registry: TestabilityRegistry, elem: any, findInAncestors: boolean): Testability | null
}

Description

Adapter interface for retrieving the Testability service associated for a particular context.

Members

addToWindow(registry: TestabilityRegistry): void

findTestabilityInTree(registry: TestabilityRegistry, elem: any, findInAncestors: boolean): Testability | null

© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/core/GetTestability