Creates a `ComponentHarness` for the given harness type with the given raw host element.
(
harnessType: ComponentHarnessConstructor<T>,
element: E,
)
| 331 | |
| 332 | /** Creates a `ComponentHarness` for the given harness type with the given raw host element. */ |
| 333 | protected createComponentHarness<T extends ComponentHarness>( |
| 334 | harnessType: ComponentHarnessConstructor<T>, |
| 335 | element: E, |
| 336 | ): T { |
| 337 | return new harnessType(this.createEnvironment(element)); |
| 338 | } |
| 339 | |
| 340 | /** |
| 341 | * Flushes change detection and async tasks captured in the Angular zone. |
nothing calls this directly
no test coverage detected