mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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
25 lines
590 B
Text
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",
|
|
],
|
|
)
|