W3cubDocs

/Angular 2

GetTestability

Experimental Interface

Interface Overview

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

Interface Description

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

Interface Details

addToWindow(registry: TestabilityRegistry) : void
findTestabilityInTree(registry: TestabilityRegistry, elem: any, findInAncestors: boolean) : Testability

exported from @angular/core/index, defined in @angular/core/src/testability/testability.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/core/index/GetTestability-interface.html