| 
									
										
										
										
											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: [ | 
					
						
							| 
									
										
										
										
											2015-10-31 13:04:26 -07:00
										 |  |  |       '../../node_modules/es6-shim/es6-shim.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); | 
					
						
							|  |  |  | }; |