angular/devtools/tools/defaults.bzl
Joey Perrott 50a69dee6c build: only require workspace build packages for web tests when provided (#62443)
Only use the builds from the workspace as for the bootstrap scripts for web testing

PR Close #62443
2025-07-03 08:34:25 +00:00

16 lines
542 B
Python

# Re-export of Bazel rules with devtools-wide defaults
load("//tools:defaults2.bzl", _ng_web_test_suite = "ng_web_test_suite")
def ng_web_test_suite(deps = [], **kwargs):
# Provide required modules for the imports in //tools/testing/browser_tests.init.mts
deps = deps + [
"//:node_modules/@angular/compiler",
"//:node_modules/@angular/core",
"//:node_modules/@angular/platform-browser",
]
_ng_web_test_suite(
deps = deps,
tsconfig = "//devtools:tsconfig_test",
**kwargs
)