mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This also fixes an existing bug where we erase the jsaction attribute too early. Now the event contract binary is 608 bytes :D. PR Close #55587
48 lines
1.4 KiB
Text
48 lines
1.4 KiB
Text
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
|
load("//tools/circular_dependency_test:index.bzl", "circular_dependency_test")
|
|
|
|
circular_dependency_test(
|
|
name = "circular_deps_test",
|
|
entry_point = "angular/packages/platform-server/index.mjs",
|
|
deps = ["//packages/platform-server"],
|
|
)
|
|
|
|
circular_dependency_test(
|
|
name = "testing_circular_deps_test",
|
|
entry_point = "angular/packages/platform-server/testing/index.mjs",
|
|
deps = ["//packages/platform-server/testing"],
|
|
)
|
|
|
|
ts_library(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob(["*.ts"]),
|
|
deps = [
|
|
"//packages:types",
|
|
"//packages/animations",
|
|
"//packages/common",
|
|
"//packages/common/http",
|
|
"//packages/common/http/testing",
|
|
"//packages/common/testing",
|
|
"//packages/compiler",
|
|
"//packages/core",
|
|
"//packages/core/primitives/event-dispatch",
|
|
"//packages/core/testing",
|
|
"//packages/localize",
|
|
"//packages/localize/init",
|
|
"//packages/platform-browser",
|
|
"//packages/platform-server",
|
|
"//packages/private/testing",
|
|
"//packages/router",
|
|
"@npm//rxjs",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "test",
|
|
bootstrap = ["//tools/testing:node"],
|
|
data = ["//packages/core/primitives/event-dispatch:contract_bundle_min"],
|
|
deps = [
|
|
":test_lib",
|
|
],
|
|
)
|