W3cubDocs

/Angular 4 TypeScript

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 core/testing/index, defined in core/testing/src/test_bed.ts

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