* Creates an asynchronous locator function that can be used to find `ComponentHarness` instances * or elements under the root element of this `HarnessEnvironment`. * * For example, given the following DOM and assuming `DivHarness.hostSelector` is `'div'` and * `IdIsD1Harness.hostSelector
(
...queries: T
)
| 178 | * the union of all result types for each query. |
| 179 | */ |
| 180 | locatorForAll<T extends (HarnessQuery<any> | string)[]>( |
| 181 | ...queries: T |
| 182 | ): () => Promise<LocatorFnResult<T>[]> { |
| 183 | return () => this._getAllHarnessesAndTestElements(queries); |
| 184 | } |
| 185 | |
| 186 | /** @return A `HarnessLoader` rooted at the root element of this `HarnessEnvironment`. */ |
| 187 | async rootHarnessLoader(): Promise<HarnessLoader> { |
nothing calls this directly
no outgoing calls
no test coverage detected