* Searches for all elements with the given selector under the environment's root element, * and returns an array of `HarnessLoader`s, one for each matching element, rooted at that * element. * @param selector The selector for the root element of the new `HarnessLoader` * @return A list o
(selector: string)
| 326 | * @return A list of `HarnessLoader`s, one for each matching element, rooted at that element. |
| 327 | */ |
| 328 | async getAllChildLoaders(selector: string): Promise<HarnessLoader[]> { |
| 329 | return (await this.getAllRawElements(selector)).map(e => this.createEnvironment(e)); |
| 330 | } |
| 331 | |
| 332 | /** Creates a `ComponentHarness` for the given harness type with the given raw host element. */ |
| 333 | protected createComponentHarness<T extends ComponentHarness>( |
nothing calls this directly
no test coverage detected