| 
									
										
										
										
											2015-10-10 22:11:13 -07:00
										 |  |  | import {provide, Provider} from 'angular2/src/core/di'; | 
					
						
							| 
									
										
										
										
											2015-09-14 15:59:09 -07:00
										 |  |  | import {MockSchemaRegistry} from './schema_registry_mock'; | 
					
						
							| 
									
										
										
										
											2015-11-05 14:07:57 -08:00
										 |  |  | import {ElementSchemaRegistry} from 'angular2/src/compiler/schema/element_schema_registry'; | 
					
						
							|  |  |  | import {MockXHR} from 'angular2/src/compiler/xhr_mock'; | 
					
						
							|  |  |  | import {XHR} from 'angular2/src/compiler/xhr'; | 
					
						
							|  |  |  | import {UrlResolver, createWithoutPackagePrefix} from 'angular2/src/compiler/url_resolver'; | 
					
						
							| 
									
										
										
										
											2015-09-14 15:59:09 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-10-12 10:23:51 -07:00
										 |  |  | export var TEST_PROVIDERS = [ | 
					
						
							| 
									
										
										
										
											2015-10-12 11:30:34 -07:00
										 |  |  |   provide(ElementSchemaRegistry, {useValue: new MockSchemaRegistry({}, {})}), | 
					
						
							| 
									
										
										
										
											2015-10-15 16:03:23 -07:00
										 |  |  |   provide(XHR, {useClass: MockXHR}), | 
					
						
							|  |  |  |   provide(UrlResolver, {useFactory: createWithoutPackagePrefix}) | 
					
						
							| 
									
										
										
										
											2015-10-12 10:23:51 -07:00
										 |  |  | ]; |