mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
* The benchmark macro should also use devmode ESM 2020. No CommonJS * The benchmark macro should always add `benchpress` as runtime dependency because it is loaded asynchronously. * The protractor `nodejs_binary` should use our ESM-interop binary so that ESM resolution works (e.g. when `await import(benchpress)` from the driver utilities is invoked). PR Close #48521
13 lines
839 B
Diff
13 lines
839 B
Diff
diff --git a/node_modules/@bazel/protractor/protractor_web_test.bzl b/node_modules/@bazel/protractor/protractor_web_test.bzl
|
|
index 77fcd99..8c65658 100755
|
|
--- a/node_modules/@bazel/protractor/protractor_web_test.bzl
|
|
+++ b/node_modules/@bazel/protractor/protractor_web_test.bzl
|
|
@@ -14,7 +14,7 @@
|
|
"Run end-to-end tests with Protractor"
|
|
|
|
load("@rules_nodejs//nodejs:providers.bzl", "JSModuleInfo")
|
|
-load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")
|
|
+load("@angular//tools/esm-interop:index.bzl", "nodejs_binary")
|
|
load("@build_bazel_rules_nodejs//:providers.bzl", "ExternalNpmPackageInfo", "JSNamedModuleInfo", "node_modules_aspect")
|
|
load("@build_bazel_rules_nodejs//internal/common:windows_utils.bzl", "create_windows_native_launcher_script", "is_windows")
|
|
load("@io_bazel_rules_webtesting//web:web.bzl", "web_test_suite")
|