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

Function documentRootLocatorFactory

src/cdk/testing/harness-environment.ts:62–64  ·  view source on GitHub ↗

Gets a locator factory rooted at the document root.

()

Source from the content-addressed store, hash-verified

60
61 /** Gets a locator factory rooted at the document root. */
62 documentRootLocatorFactory(): LocatorFactory {
63 return this.createEnvironment(this.getDocumentRoot());
64 }
65
66 /**
67 * Creates an asynchronous locator function that can be used to find a `ComponentHarness` instance

Callers

nothing calls this directly

Calls 2

createEnvironmentMethod · 0.45
getDocumentRootMethod · 0.45

Tested by

no test coverage detected