angular/aio/scripts/deploy-to-firebase/BUILD.bazel
Joey Perrott ade024407d fix(docs-infra): remove part aio infra (#54929)
Remove parts of the aio infra

PR Close #54929
2024-04-02 18:38:04 +00:00

23 lines
581 B
Text

load("@npm//@bazel/jasmine:index.bzl", "jasmine_node_test")
load("@npm//@angular/build-tooling/bazel/remote-execution:index.bzl", "ENABLE_NETWORK")
DEPLOY_TO_FIREBASE_SOURCES = glob(
["**/*.mjs"],
["**/*.spec.mjs"],
)
DEPLOY_TO_FIREBASE_DEPS = [
"@npm//shelljs",
"//aio:build",
"//:package.json",
]
jasmine_node_test(
name = "test",
srcs = glob(["**/*.spec.mjs"]),
data = DEPLOY_TO_FIREBASE_SOURCES,
# Tests make remote calls to git
exec_properties = ENABLE_NETWORK,
tags = ["requires-network"],
deps = DEPLOY_TO_FIREBASE_DEPS,
)