* Creates an asynchronous locator function that can be used to find `ComponentHarness` instances * or elements under the host element of this `ComponentHarness`. * * For example, given the following DOM and assuming `DivHarness.hostSelector` is `'div'` and * `IdIsD1Harness.hostSelector`
(
...queries: T
)
| 449 | * the union of all result types for each query. |
| 450 | */ |
| 451 | protected locatorForAll<T extends (HarnessQuery<any> | string)[]>( |
| 452 | ...queries: T |
| 453 | ): () => Promise<LocatorFnResult<T>[]> { |
| 454 | return this.locatorFactory.locatorForAll(...queries); |
| 455 | } |
| 456 | |
| 457 | /** |
| 458 | * Flushes change detection and async tasks in the Angular zone. |
nothing calls this directly
no test coverage detected