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

Type: TestabilityRegistry.

Returns

void

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

Parameters

registry

Type: TestabilityRegistry.

elem

Type: any.

findInAncestors

Type: boolean.

Returns

Testability | null

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