From 34eaafdf403e4ef718be6ccd94e16889ee62f518 Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Thu, 20 Jun 2019 13:31:05 -0700 Subject: [PATCH] build: correct zone.js bazel test visibilty rule (#31175) PR Close #31175 --- packages/zone.js/test/BUILD.bazel | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/zone.js/test/BUILD.bazel b/packages/zone.js/test/BUILD.bazel index 14d10efcd2..0d35ad8e1f 100644 --- a/packages/zone.js/test/BUILD.bazel +++ b/packages/zone.js/test/BUILD.bazel @@ -2,6 +2,8 @@ load("//tools:defaults.bzl", "jasmine_node_test", "ts_library") load("@build_bazel_rules_nodejs//:defs.bzl", "rollup_bundle") load("@npm_bazel_karma//:index.bzl", "karma_web_test_suite") +package(default_visibility = ["//:__pkg__"]) + exports_files([ "assets/sample.json", "assets/worker.js", @@ -360,6 +362,8 @@ karma_web_test_suite( ":assets/import.html", ], tags = ["zone_karma_test"], + # Visible to //:test_web_all target + visibility = ["//:__pkg__"], runtime_deps = [ "@npm//karma-browserstack-launcher", ],