W3cubDocs

/Angular 7

GetTestability

interface

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

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

Methods

addToWindow(registry: TestabilityRegistry): void

Parameters
registry TestabilityRegistry
Returns

void

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

Parameters
registry TestabilityRegistry
elem any
findInAncestors boolean
Returns

Testability | null

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