| 
									
										
										
										
											2019-11-13 09:08:38 -08:00
										 |  |  | load("//tools:defaults.bzl", "karma_web_test_suite", "ts_library") | 
					
						
							| 
									
										
										
										
											2020-01-14 15:31:13 +01:00
										 |  |  | load("//tools/circular_dependency_test:index.bzl", "circular_dependency_test") | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | circular_dependency_test( | 
					
						
							|  |  |  |     name = "circular_deps_test", | 
					
						
							|  |  |  |     entry_point = "angular/packages/upgrade/static/index.js", | 
					
						
							|  |  |  |     deps = ["//packages/upgrade/static"], | 
					
						
							|  |  |  | ) | 
					
						
							| 
									
										
										
										
											2017-12-17 15:10:54 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  | ts_library( | 
					
						
							|  |  |  |     name = "test_lib", | 
					
						
							| 
									
										
										
										
											2018-10-15 23:24:22 -07:00
										 |  |  |     testonly = True, | 
					
						
							| 
									
										
										
										
											2019-03-22 09:42:52 +00:00
										 |  |  |     srcs = glob([ | 
					
						
							|  |  |  |         "**/*.ts", | 
					
						
							|  |  |  |     ]), | 
					
						
							| 
									
										
										
										
											2017-12-17 15:10:54 -08:00
										 |  |  |     deps = [ | 
					
						
							|  |  |  |         "//packages/core", | 
					
						
							|  |  |  |         "//packages/core/testing", | 
					
						
							|  |  |  |         "//packages/platform-browser", | 
					
						
							|  |  |  |         "//packages/platform-browser-dynamic", | 
					
						
							|  |  |  |         "//packages/platform-browser/testing", | 
					
						
							| 
									
										
										
										
											2019-03-22 09:42:52 +00:00
										 |  |  |         "//packages/upgrade/src/common", | 
					
						
							|  |  |  |         "//packages/upgrade/src/common/test/helpers", | 
					
						
							| 
									
										
										
										
											2017-12-17 15:10:54 -08:00
										 |  |  |         "//packages/upgrade/static", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-13 09:08:38 -08:00
										 |  |  | karma_web_test_suite( | 
					
						
							| 
									
										
										
										
											2019-03-22 09:42:52 +00:00
										 |  |  |     name = "test", | 
					
						
							| 
									
										
										
										
											2018-05-30 23:49:37 -07:00
										 |  |  |     static_files = [ | 
					
						
							|  |  |  |         "//:angularjs_scripts", | 
					
						
							| 
									
										
										
										
											2017-12-17 15:10:54 -08:00
										 |  |  |     ], | 
					
						
							|  |  |  |     deps = [ | 
					
						
							|  |  |  |         ":test_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) |