W3cubDocs

/Angular

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–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/testing/TestComponentRenderer