We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 200e190 commit 2cb0662Copy full SHA for 2cb0662
modules/angular2/src/test_lib/test_bed.js
@@ -74,8 +74,7 @@ export class TestBed {
74
* @return {Promise<ViewProxy>}
75
*/
76
createView(component: Type,
77
- {context = null, html = null}: {context:any, html: string} = {}): Promise<AppView> {
78
-
+ {context = null, html = null}: {context:any, html: string} = {}): Promise<ViewProxy> {
79
if (isBlank(component) && isBlank(context)) {
80
throw new BaseException('You must specified at least a component or a context');
81
}
0 commit comments