TestabilityRegistry
Class
stable
A global registry of Testability instances for specific elements.
registerApplication
voidRegisters an application with a testability hook so that it can be tracked
@paramtoken
anytoken of application, root element
@returns
voidunregisterApplication
voidUnregisters an application.
@paramtoken
anytoken of application, root element
@returns
voidunregisterAllApplications
voidUnregisters all applications
@returns
voidgetTestability
Testability | nullGet a testability hook associated with the application
@paramelem
anyroot element
@returns
Testability | nullgetAllTestabilities
Testability[]Get all registered testabilities
@returns
Testability[]getAllRootElements
any[]Get all registered applications(root elements)
@returns
any[]findTestabilityInTree
Testability | nullFind testability of a node in the Tree
@paramelem
Nodenode
@paramfindInAncestors
booleanwhether finding testability in ancestors if testability was not found in current node
@returns
Testability | nullJump to details