| 
									
										
										
										
											2018-09-11 18:11:32 -07:00
										 |  |  | load("//tools:defaults.bzl", "jasmine_node_test", "ts_library") | 
					
						
							| 
									
										
										
										
											2018-03-21 14:22:06 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | ts_library( | 
					
						
							|  |  |  |     name = "test_lib", | 
					
						
							| 
									
										
										
										
											2018-10-15 23:24:22 -07:00
										 |  |  |     testonly = True, | 
					
						
							| 
									
										
										
										
											2018-03-21 14:22:06 -07:00
										 |  |  |     srcs = glob(["**/*.ts"]), | 
					
						
							|  |  |  |     deps = [ | 
					
						
							|  |  |  |         "//packages:types", | 
					
						
							|  |  |  |         "//packages/compiler", | 
					
						
							|  |  |  |         "//packages/compiler-cli", | 
					
						
							|  |  |  |         "//packages/compiler-cli/test:test_utils", | 
					
						
							|  |  |  |         "//packages/compiler/test:test_utils", | 
					
						
							|  |  |  |         "//packages/core", | 
					
						
							|  |  |  |         "//packages/platform-browser", | 
					
						
							| 
									
										
										
										
											2018-10-04 13:14:14 -07:00
										 |  |  |         "@ngdeps//typescript", | 
					
						
							| 
									
										
										
										
											2018-03-21 14:22:06 -07:00
										 |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | jasmine_node_test( | 
					
						
							|  |  |  |     name = "test", | 
					
						
							| 
									
										
										
										
											2018-09-14 09:48:55 -07:00
										 |  |  |     timeout = "long",  # 900 seconds | 
					
						
							| 
									
										
										
										
											2018-03-21 14:22:06 -07:00
										 |  |  |     bootstrap = ["angular/tools/testing/init_node_spec.js"], | 
					
						
							|  |  |  |     data = [ | 
					
						
							|  |  |  |         "//packages/common:npm_package", | 
					
						
							|  |  |  |         "//packages/core:npm_package", | 
					
						
							|  |  |  |         "//packages/router:npm_package", | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2018-10-15 23:24:22 -07:00
										 |  |  |     tags = [ | 
					
						
							| 
									
										
										
										
											2018-11-27 12:30:46 -08:00
										 |  |  |         # Disabled as these tests pertain to the old compiler and not ngtsc, which doesn't use any | 
					
						
							|  |  |  |         # of these transformer utilities. | 
					
						
							|  |  |  |         "no-ivy-aot", | 
					
						
							| 
									
										
										
										
											2018-10-15 23:24:22 -07:00
										 |  |  |     ], | 
					
						
							| 
									
										
										
										
											2018-03-21 14:22:06 -07:00
										 |  |  |     deps = [ | 
					
						
							|  |  |  |         ":test_lib", | 
					
						
							|  |  |  |         "//packages/core", | 
					
						
							|  |  |  |         "//tools/testing:node", | 
					
						
							| 
									
										
										
										
											2018-10-04 13:14:14 -07:00
										 |  |  |         "@ngdeps//source-map", | 
					
						
							| 
									
										
										
										
											2018-03-21 14:22:06 -07:00
										 |  |  |     ], | 
					
						
							|  |  |  | ) |