parent
							
								
									200e190f70
								
							
						
					
					
						commit
						2cb066215a
					
				
							
								
								
									
										3
									
								
								modules/angular2/src/test_lib/test_bed.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								modules/angular2/src/test_lib/test_bed.js
									
									
									
									
										vendored
									
									
								
							| @ -74,8 +74,7 @@ export class TestBed { | ||||
|    * @return {Promise<ViewProxy>} | ||||
|    */ | ||||
|   createView(component: Type, | ||||
|              {context = null, html = null}: {context:any, html: string} = {}): Promise<AppView> { | ||||
| 
 | ||||
|              {context = null, html = null}: {context:any, html: string} = {}): Promise<ViewProxy> { | ||||
|     if (isBlank(component) && isBlank(context)) { | ||||
|       throw new BaseException('You must specified at least a component or a context'); | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user