angular/packages/private/testing/BUILD.bazel
Paul Gschwendtner 3a106a35bc build: move private testing helpers outside platform-browser/testing (#61472)
These helpers are often imported by various tests throughout the
repository, but the helpers aren't exported/exposed from the public
entry-point; even though they confusingly reside in there.

This commit fixes this, and moves the helpers into
`packages/private/testing`. This is a preparation for the `ts_project`
migration where we don't want to leverage deep imports between packages.

PR Close #61472
2025-05-20 10:00:43 +00:00

25 lines
590 B
Text

load("//tools:defaults.bzl", "ng_module")
package(default_visibility = [
"//modules/playground:__subpackages__",
"//packages:__subpackages__",
])
exports_files(["package.json"])
ng_module(
name = "testing",
package_name = "@angular/private/testing",
testonly = True,
srcs = glob(
["**/*.ts"],
),
module_name = "@angular/private/testing",
deps = [
"//packages/common",
"//packages/core",
"//packages/core/testing",
"//packages/platform-browser",
"//packages/platform-server:bundled_domino_lib",
],
)