TestComponentRenderer

From Get docs
< @angular/core‎ | testingAngular/docs/11/api/core/testing/testcomponentrenderer


TestComponentRenderer

class

An abstract class for inserting the root test component element in a platform independent way.

class TestComponentRenderer {
  insertRootElement(rootElementId: string)
}

Provided in

Methods

insertRootElement(rootElementId: string)

Parameters
rootElementId string



© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/core/testing/TestComponentRenderer