angular / 12.2.13 / api / core / testing / testcomponentrenderer.html /

TestComponentRenderer

class final

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

class TestComponentRenderer {
  insertRootElement(rootElementId: string)
  removeAllRootElements()?
}

Provided in

Methods

insertRootElement(rootElementId: string)

Parameters
rootElementId string

removeAllRootElements()?

Parameters

There are no parameters.

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