* Searches for an instance of the component corresponding to the given harness type under the * `HarnessEnvironment`'s root element, and returns a `ComponentHarness` for that instance. If * multiple matching components are found, a harness for the first one is returned. If no matching * com
(query: HarnessQuery<T>)
| 245 | * @return An instance of the given harness type (or null if not found). |
| 246 | */ |
| 247 | getHarnessOrNull<T extends ComponentHarness>(query: HarnessQuery<T>): Promise<T | null> { |
| 248 | return this.locatorForOptional(query)(); |
| 249 | } |
| 250 | |
| 251 | /** |
| 252 | * Searches for an instance of the component corresponding to the given harness type and index |
nothing calls this directly
no test coverage detected