TestComponentRenderer
An abstract class for inserting the root test component element in a platform independent way.
API
class TestComponentRenderer {
insertRootElement(rootElementId: string, tagName?: string | undefined): void;
optional removeAllRootElements(): void;
}
insertRootElement
void
@paramrootElementId
string
@paramtagName
string | undefined
@returns
void
removeAllRootElements
void
@returns
void
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/testing/TestComponentRenderer