mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor: update upgrade package tests to work with ESM output (#48538)
* Uses the `.mjs` output of the upgrade package when checking for circular deps. PR Close #48538
This commit is contained in:
@@ -3,7 +3,7 @@ load("//tools/circular_dependency_test:index.bzl", "circular_dependency_test")
|
||||
|
||||
circular_dependency_test(
|
||||
name = "circular_deps_test",
|
||||
entry_point = "angular/packages/upgrade/index.js",
|
||||
entry_point = "angular/packages/upgrade/index.mjs",
|
||||
deps = ["//packages/upgrade"],
|
||||
)
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ load("//tools/circular_dependency_test:index.bzl", "circular_dependency_test")
|
||||
|
||||
circular_dependency_test(
|
||||
name = "circular_deps_test",
|
||||
entry_point = "angular/packages/upgrade/static/index.js",
|
||||
entry_point = "angular/packages/upgrade/static/index.mjs",
|
||||
deps = ["//packages/upgrade/static"],
|
||||
)
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
load("//tools:defaults.bzl", "karma_web_test_suite", "ts_library")
|
||||
load("//tools/circular_dependency_test:index.bzl", "circular_dependency_test")
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
circular_dependency_test(
|
||||
name = "circular_deps_test",
|
||||
entry_point = "angular/packages/upgrade/static/testing/index.js",
|
||||
entry_point = "angular/packages/upgrade/static/testing/index.mjs",
|
||||
deps = ["//packages/upgrade/static/testing"],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user