* Creates an asynchronous locator function that can be used to find a `ComponentHarness` instance * or element under the host element of this `ComponentHarness`. * * For example, given the following DOM and assuming `DivHarness.hostSelector` is `'div'` * * ```html * </
(
...queries: T
)
| 405 | * result types for each query or null. |
| 406 | */ |
| 407 | protected locatorForOptional<T extends (HarnessQuery<any> | string)[]>( |
| 408 | ...queries: T |
| 409 | ): () => Promise<LocatorFnResult<T> | null> { |
| 410 | return this.locatorFactory.locatorForOptional(...queries); |
| 411 | } |
| 412 | |
| 413 | /** |
| 414 | * Creates an asynchronous locator function that can be used to find `ComponentHarness` instances |
nothing calls this directly
no test coverage detected