build: ts_web_test & ts_web_test_suite deprecated in favor of karma_web_test & karma_web_test_suite (#33802)

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
This commit is contained in:
Greg Magolan
2019-11-13 09:08:38 -08:00
committed by Kara Erickson
parent 78912093f8
commit 9a68f23dd2
33 changed files with 67 additions and 120 deletions

View File

@ -1,6 +1,6 @@
package(default_visibility = ["//visibility:public"])
load("//tools:defaults.bzl", "ts_library", "ts_web_test_suite")
load("//tools:defaults.bzl", "karma_web_test_suite", "ts_library")
ts_library(
name = "test_lib",
@ -18,7 +18,7 @@ ts_library(
],
)
ts_web_test_suite(
karma_web_test_suite(
name = "test",
static_files = [
"//:angularjs_scripts",