GetTestability

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 }

方法

addToWindow(registry: TestabilityRegistry): void

参数

registry

Type: TestabilityRegistry.

返回值

void

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

参数

registry

Type: TestabilityRegistry.

elem

Type: any.

findInAncestors

Type: boolean.

返回值

Testability | null