| 
									
										
										
										
											2015-08-08 13:55:53 -07:00
										 |  |  | module.exports = function(config) { | 
					
						
							|  |  |  |   config.set({ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     basePath: '', | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     frameworks: ['jasmine'], | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     files: [ | 
					
						
							| 
									
										
										
										
											2015-12-11 11:59:57 -08:00
										 |  |  |       // paths loaded by Karma
 | 
					
						
							|  |  |  |       {pattern: 'node_modules/systemjs/dist/system.src.js', included: true, watched: true}, | 
					
						
							|  |  |  |       {pattern: 'node_modules/angular2/bundles/angular2.js', included: true, watched: true}, | 
					
						
							|  |  |  |       {pattern: 'node_modules/angular2/bundles/testing.js', included: true, watched: true}, | 
					
						
							|  |  |  |       {pattern: 'karma-test-shim.js', included: true, watched: true}, | 
					
						
							| 
									
										
										
										
											2015-12-12 19:20:56 -08:00
										 |  |  |       {pattern: 'app/test/*.js', included: true, watched: true}, | 
					
						
							| 
									
										
										
										
											2015-12-11 11:59:57 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  |       // paths loaded via module imports
 | 
					
						
							| 
									
										
										
										
											2015-12-12 19:20:56 -08:00
										 |  |  |       {pattern: 'app/**/*.js', included: false, watched: true}, | 
					
						
							| 
									
										
										
										
											2015-12-11 11:59:57 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  |       // paths loaded via Angular's component compiler
 | 
					
						
							|  |  |  |       // (these paths need to be rewritten, see proxies section)
 | 
					
						
							| 
									
										
										
										
											2015-12-12 19:20:56 -08:00
										 |  |  |       {pattern: 'app/**/*.html', included: false, watched: true}, | 
					
						
							|  |  |  |       {pattern: 'app/**/*.css', included: false, watched: true}, | 
					
						
							| 
									
										
										
										
											2015-12-11 11:59:57 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  |       // paths to support debugging with source maps in dev tools
 | 
					
						
							| 
									
										
										
										
											2015-12-12 19:20:56 -08:00
										 |  |  |       {pattern: 'app/**/*.ts', included: false, watched: false}, | 
					
						
							|  |  |  |       {pattern: 'app/**/*.js.map', included: false, watched: false} | 
					
						
							| 
									
										
										
										
											2015-08-08 13:55:53 -07:00
										 |  |  |     ], | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-12-11 11:59:57 -08:00
										 |  |  |     // proxied base paths
 | 
					
						
							|  |  |  |     proxies: { | 
					
						
							|  |  |  |       // required for component assests fetched by Angular's compiler
 | 
					
						
							| 
									
										
										
										
											2015-12-12 19:20:56 -08:00
										 |  |  |       "/app/": "/base/app/" | 
					
						
							| 
									
										
										
										
											2015-08-08 13:55:53 -07:00
										 |  |  |     }, | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     reporters: ['progress'], | 
					
						
							| 
									
										
										
										
											2015-12-11 11:59:57 -08:00
										 |  |  |     port: 9877, | 
					
						
							| 
									
										
										
										
											2015-08-08 13:55:53 -07:00
										 |  |  |     colors: true, | 
					
						
							|  |  |  |     logLevel: config.LOG_INFO, | 
					
						
							|  |  |  |     autoWatch: true, | 
					
						
							|  |  |  |     browsers: ['Chrome'], | 
					
						
							| 
									
										
										
										
											2015-12-11 11:59:57 -08:00
										 |  |  |     singleRun: true | 
					
						
							| 
									
										
										
										
											2015-08-08 13:55:53 -07:00
										 |  |  |   }) | 
					
						
							|  |  |  | } |