angular-cn/public/docs/js/latest/api/test/RootTestComponent-class.jade
2015-09-01 13:55:47 -07:00

58 lines
917 B
Plaintext

p.location-badge.
exported from <a href='../test'>angular2/test</a>
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.36/modules/angular2/src/test_lib/test_component_builder.ts#L22-L41">angular2/src/test_lib/test_component_builder.ts (line 22)</a>
:markdown
This module is used for writing tests for applications written in Angular.
This module is not included in the `angular2` module; you must import the test module explicitly.
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(componentRef: ComponentRef)
:markdown
.l-sub-section
h3 detectChanges
pre.prettyprint
code.
detectChanges()
:markdown
.l-sub-section
h3 destroy
pre.prettyprint
code.
destroy()
:markdown