| 
									
										
										
										
											2016-10-04 20:39:20 -07: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
 | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-08-20 13:19:34 -07:00
										 |  |  | 'use strict'; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-10-27 16:09:09 +01:00
										 |  |  | var browserProvidersConf = require('../../browser-providers.conf.js'); | 
					
						
							| 
									
										
										
										
											2015-08-20 13:19:34 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | // This runs the tests for the router in Angular 1.x
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | module.exports = function (config) { | 
					
						
							|  |  |  |   var options = { | 
					
						
							|  |  |  |     frameworks: ['jasmine'], | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     files: [ | 
					
						
							| 
									
										
										
										
											2016-08-26 02:28:36 +02:00
										 |  |  |       '../../node_modules/core-js/client/core.js', | 
					
						
							| 
									
										
										
										
											2015-08-20 13:19:34 -07:00
										 |  |  |       '../../node_modules/angular/angular.js', | 
					
						
							|  |  |  |       '../../node_modules/angular-animate/angular-animate.js', | 
					
						
							|  |  |  |       '../../node_modules/angular-mocks/angular-mocks.js', | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       '../../dist/angular_1_router.js', | 
					
						
							| 
									
										
										
										
											2015-09-18 15:54:35 -07:00
										 |  |  |       'src/ng_route_shim.js', | 
					
						
							| 
									
										
										
										
											2015-08-20 13:19:34 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  |       'test/*.es5.js', | 
					
						
							| 
									
										
										
										
											2015-08-20 14:26:57 -07:00
										 |  |  |       'test/**/*_spec.js' | 
					
						
							| 
									
										
										
										
											2015-08-20 13:19:34 -07:00
										 |  |  |     ], | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-10-27 16:09:09 +01:00
										 |  |  |     customLaunchers: browserProvidersConf.customLaunchers, | 
					
						
							| 
									
										
										
										
											2015-08-20 13:19:34 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-11-19 21:19:04 +01:00
										 |  |  |     browsers: ['Chrome'] | 
					
						
							| 
									
										
										
										
											2015-08-20 13:19:34 -07:00
										 |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   config.set(options); | 
					
						
							|  |  |  | }; |