豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 09cb90c

Browse files
committed
feat(bazel/karma): expose karma web test rule in shared karma code
We should re-export the unmodified karma web test macro/rule in the dev-infra Karma shared code so that a single import in consumer repositories like framework is sufficient. Currently framework would need to import from `@bazel/concatjs` and from `dev-infra-private/bazel/karma` to get access to the Karma Bazel rules/macros.
1 parent bf9a773 commit 09cb90c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bazel/karma/index.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ load(
44
_karma_web_test_suite = "karma_web_test_suite",
55
)
66

7+
# Re-export of unmodified Karma test macros/rules.
8+
karma_web_test = _karma_web_test
9+
710
def _karma_debug_browsers_target(name, **web_test_args):
811
"""Macro for defining a standalone karma web test target that starts Karma
912
without a browser, allowing for manual debugging."""

0 commit comments

Comments
 (0)