feat(testability): Expose function getAllAngularTestabilities

This commit is contained in:
Hank Duan
2015-07-30 15:51:06 -07:00
parent 71ea19902a
commit 7b94bbf3e4
4 changed files with 13 additions and 0 deletions

View File

@ -82,6 +82,8 @@ export class TestabilityRegistry {
this._applications.set(token, testability);
}
getAllTestabilities(): List<Testability> { return MapWrapper.values(this._applications); }
findTestabilityInTree(elem: Node): Testability {
if (elem == null) {
return null;