W3cubDocs

/Angular 2

TestComponentRenderer

Experimental Class

Class Overview

class TestComponentRenderer {
  insertRootElement(rootElementId: string)
}

Class Description

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

Class Details

insertRootElement(rootElementId: string)

exported from @angular/core/testing/index, defined in @angular/core/testing/test_bed.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/core/testing/index/TestComponentRenderer-class.html