This is a breaking change in nodejs rules 0.40.0 as part of the API review & cleanup for the 1.0 release. Their APIs are identical as ts_web_test was just karma_web_test without the config_file attribute. PR Close #33802
		
			
				
	
	
		
			30 lines
		
	
	
		
			630 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			630 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| package(default_visibility = ["//visibility:public"])
 | |
| 
 | |
| load("//tools:defaults.bzl", "karma_web_test_suite", "ts_library")
 | |
| 
 | |
| ts_library(
 | |
|     name = "test_lib",
 | |
|     testonly = True,
 | |
|     srcs = glob([
 | |
|         "**/*.ts",
 | |
|     ]),
 | |
|     deps = [
 | |
|         "//packages/core",
 | |
|         "//packages/core/testing",
 | |
|         "//packages/upgrade/src/common",
 | |
|         "//packages/upgrade/src/common/test/helpers",
 | |
|         "//packages/upgrade/static",
 | |
|         "//packages/upgrade/static/testing",
 | |
|     ],
 | |
| )
 | |
| 
 | |
| karma_web_test_suite(
 | |
|     name = "test",
 | |
|     static_files = [
 | |
|         "//:angularjs_scripts",
 | |
|     ],
 | |
|     deps = [
 | |
|         ":test_lib",
 | |
|     ],
 | |
| )
 |