MCPcopy Create free account
hub / github.com/angular/components / harnessLoaderFor

Method harnessLoaderFor

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

* Gets a `HarnessLoader` instance for an element under the root of this `LocatorFactory`. * @param selector The selector for the root element. * @return A `HarnessLoader` rooted at the first element matching the given selector. * @throws If no matching element is found for the given selecto

(selector: string)

Source from the content-addressed store, hash-verified

287 * @throws If no matching element is found for the given selector.
288 */
289 harnessLoaderFor(selector: string): Promise<HarnessLoader>;
290
291 /**
292 * Gets a `HarnessLoader` instance for an element under the root of this `LocatorFactory`

Callers 4

getRootHarnessLoaderMethod · 0.80
getRootHarnessLoaderMethod · 0.80
getRootHarnessLoaderMethod · 0.80
getRootHarnessLoaderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected