* Gets the first matching harness for the given query within the current harness's content. * @param query The harness query to search for. * @returns The first harness matching the given query, or null if none is found.
(query: HarnessQuery<T>)
| 516 | * @returns The first harness matching the given query, or null if none is found. |
| 517 | */ |
| 518 | async getHarnessOrNull<T extends ComponentHarness>(query: HarnessQuery<T>): Promise<T | null> { |
| 519 | return (await this.getRootHarnessLoader()).getHarnessOrNull(query); |
| 520 | } |
| 521 | |
| 522 | /** |
| 523 | * Gets a matching harness for the given query and index within the current harness's content. |
nothing calls this directly
no test coverage detected
searching dependent graphs…