W3cubDocs

/Angular 11

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