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

Function getAllHarnesses

src/cdk/testing/component-harness.ts:541–543  ·  view source on GitHub ↗

* Gets all matching harnesses for the given query within the current harness's content. * @param query The harness query to search for. * @returns The list of harness matching the given query.

(query: HarnessQuery<T>)

Source from the content-addressed store, hash-verified

539 * @returns The list of harness matching the given query.
540 */
541 async getAllHarnesses<T extends ComponentHarness>(query: HarnessQuery<T>): Promise<T[]> {
542 return (await this.getRootHarnessLoader()).getAllHarnesses(query);
543 }
544
545 /**
546 * Returns the number of matching harnesses for the given query within the current harness's

Callers

nothing calls this directly

Calls 2

getAllHarnessesMethod · 0.80
getRootHarnessLoaderMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…