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:

committed by
Kara Erickson

parent
78912093f8
commit
9a68f23dd2
@ -1,6 +1,6 @@
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
load("@npm_bazel_karma//:index.bzl", "ts_web_test_suite")
|
||||
load("@npm_bazel_karma//:index.bzl", "karma_web_test_suite")
|
||||
load("@npm_bazel_typescript//:index.bzl", "ts_library")
|
||||
load("@io_bazel_rules_sass//sass:sass.bzl", "sass_binary")
|
||||
load("@npm_angular_bazel//:index.bzl", "ng_module", "ng_package")
|
||||
@ -43,7 +43,7 @@ ts_library(
|
||||
],
|
||||
)
|
||||
|
||||
ts_web_test_suite(
|
||||
karma_web_test_suite(
|
||||
name = "test",
|
||||
bootstrap = [
|
||||
"@npm//:node_modules/zone.js/dist/zone-testing-bundle.js",
|
||||
|
Reference in New Issue
Block a user