MCPcopy Index your code
hub / github.com/angular/components / with

Method with

src/material/tree/testing/tree-harness.ts:28–30  ·  view source on GitHub ↗

* 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 = {})

Source from the content-addressed store, hash-verified

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[]> {

Callers 1

getNodesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected