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–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v9.angular.io/api/core/GetTestability