| 
									
										
										
										
											2017-12-16 11:35:47 -08:00
										 |  |  | /** | 
					
						
							|  |  |  |  * @license | 
					
						
							|  |  |  |  * Copyright Google Inc. All Rights Reserved. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Use of this source code is governed by an MIT-style license that can be | 
					
						
							|  |  |  |  * found in the LICENSE file at https://angular.io/license
 | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-10-24 16:02:25 -07:00
										 |  |  | import '@angular/compiler'; // For JIT mode. Must be in front of any other @angular/* imports.
 | 
					
						
							| 
									
										
										
										
											2017-12-16 11:35:47 -08:00
										 |  |  | import {TestBed} from '@angular/core/testing'; | 
					
						
							|  |  |  | import {BrowserDynamicTestingModule, platformBrowserDynamicTesting} from '@angular/platform-browser-dynamic/testing'; | 
					
						
							|  |  |  | import {NoopAnimationsModule} from '@angular/platform-browser/animations'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | TestBed.initTestEnvironment( | 
					
						
							|  |  |  |     [BrowserDynamicTestingModule, NoopAnimationsModule], platformBrowserDynamicTesting()); | 
					
						
							| 
									
										
										
										
											2017-12-17 15:10:54 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  | (window as any).isNode = false; | 
					
						
							|  |  |  | (window as any).isBrowser = true; | 
					
						
							|  |  |  | (window as any).global = window; |