填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

GetTestability

适配器接口,用于检索与特定上下文关联 Testability

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 TestabilityRegistry
返回值

void

      
      findTestabilityInTree(registry: TestabilityRegistry, elem: any, findInAncestors: boolean): Testability | null
    
参数
registry TestabilityRegistry
elem any
findInAncestors boolean
返回值

Testability | null