| 
									
										
										
										
											2019-01-16 10:19:01 +01:00
										 |  |  | load("//tools:defaults.bzl", "jasmine_node_test", "ts_library") | 
					
						
							| 
									
										
										
										
											2018-04-12 15:09:06 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-16 10:19:01 +01:00
										 |  |  | package(default_visibility = ["//visibility:public"]) | 
					
						
							| 
									
										
										
										
											2018-04-12 15:09:06 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | ts_library( | 
					
						
							|  |  |  |     name = "ng-add", | 
					
						
							| 
									
										
										
										
											2020-02-07 08:51:47 +01:00
										 |  |  |     srcs = [ | 
					
						
							|  |  |  |         "index.ts", | 
					
						
							|  |  |  |         "schema.d.ts", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     data = [ | 
					
						
							|  |  |  |         "schema.json", | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2018-04-12 15:09:06 -07:00
										 |  |  |     deps = [ | 
					
						
							| 
									
										
										
										
											2019-02-20 09:54:42 -08:00
										 |  |  |         "@npm//@angular-devkit/schematics", | 
					
						
							| 
									
										
										
										
											2019-11-11 09:27:36 +01:00
										 |  |  |         "@npm//@schematics/angular", | 
					
						
							| 
									
										
										
										
											2018-04-12 15:09:06 -07:00
										 |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ts_library( | 
					
						
							|  |  |  |     name = "test_lib", | 
					
						
							| 
									
										
										
										
											2018-10-15 23:24:22 -07:00
										 |  |  |     testonly = True, | 
					
						
							| 
									
										
										
										
											2019-01-16 10:19:01 +01:00
										 |  |  |     srcs = [ | 
					
						
							|  |  |  |         "index_spec.ts", | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2018-04-12 15:09:06 -07:00
										 |  |  |     deps = [ | 
					
						
							|  |  |  |         ":ng-add", | 
					
						
							| 
									
										
										
										
											2019-02-20 09:54:42 -08:00
										 |  |  |         "@npm//@angular-devkit/schematics", | 
					
						
							| 
									
										
										
										
											2019-11-11 09:27:36 +01:00
										 |  |  |         "@npm//@schematics/angular", | 
					
						
							| 
									
										
										
										
											2018-04-12 15:09:06 -07:00
										 |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | jasmine_node_test( | 
					
						
							|  |  |  |     name = "test", | 
					
						
							|  |  |  |     deps = [ | 
					
						
							|  |  |  |         ":test_lib", | 
					
						
							| 
									
										
										
										
											2018-05-10 23:35:21 -07:00
										 |  |  |         "//packages/elements/schematics:collection", | 
					
						
							| 
									
										
										
										
											2018-04-12 15:09:06 -07:00
										 |  |  |     ], | 
					
						
							|  |  |  | ) |