build: correct zone.js bazel test visibilty rule (#31175)
PR Close #31175
This commit is contained in:
parent
bf7d046269
commit
34eaafdf40
|
@ -2,6 +2,8 @@ load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
||||||
load("@build_bazel_rules_nodejs//:defs.bzl", "rollup_bundle")
|
load("@build_bazel_rules_nodejs//:defs.bzl", "rollup_bundle")
|
||||||
load("@npm_bazel_karma//:index.bzl", "karma_web_test_suite")
|
load("@npm_bazel_karma//:index.bzl", "karma_web_test_suite")
|
||||||
|
|
||||||
|
package(default_visibility = ["//:__pkg__"])
|
||||||
|
|
||||||
exports_files([
|
exports_files([
|
||||||
"assets/sample.json",
|
"assets/sample.json",
|
||||||
"assets/worker.js",
|
"assets/worker.js",
|
||||||
|
@ -360,6 +362,8 @@ karma_web_test_suite(
|
||||||
":assets/import.html",
|
":assets/import.html",
|
||||||
],
|
],
|
||||||
tags = ["zone_karma_test"],
|
tags = ["zone_karma_test"],
|
||||||
|
# Visible to //:test_web_all target
|
||||||
|
visibility = ["//:__pkg__"],
|
||||||
runtime_deps = [
|
runtime_deps = [
|
||||||
"@npm//karma-browserstack-launcher",
|
"@npm//karma-browserstack-launcher",
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue