* Gets a `HarnessPredicate` that can be used to search for a tree with specific attributes. * @param options Options for narrowing the search * @return a `HarnessPredicate` configured with the given options.
(options: TreeHarnessFilters = {})
| 26 | * @return a `HarnessPredicate` configured with the given options. |
| 27 | */ |
| 28 | static with(options: TreeHarnessFilters = {}): HarnessPredicate<MatTreeHarness> { |
| 29 | return new HarnessPredicate(MatTreeHarness, options); |
| 30 | } |
| 31 | |
| 32 | /** Gets all of the nodes in the tree. */ |
| 33 | async getNodes(filter: TreeNodeHarnessFilters = {}): Promise<MatTreeNodeHarness[]> { |