angular/packages/localize/tools/test/extract/integration/BUILD.bazel
Joey Perrott 9a27c5befb build: rename defaults2.bzl to defaults.bzl (#63384)
Use defaults.bzl for the common macros

PR Close #63384
2025-08-25 15:45:46 -07:00

32 lines
1 KiB
Text

load("//tools:defaults.bzl", "jasmine_test", "ts_project")
ts_project(
name = "test_lib",
testonly = True,
srcs = glob(
["**/*_spec.ts"],
),
deps = [
"//packages:types",
"//packages/compiler-cli/src/ngtsc/file_system",
"//packages/compiler-cli/src/ngtsc/file_system/testing",
"//packages/compiler-cli/src/ngtsc/logging",
"//packages/compiler-cli/src/ngtsc/logging/testing",
"//packages/compiler-cli/src/ngtsc/testing",
"//packages/localize/tools",
"//packages/localize/tools/test:test_lib",
"//packages/localize/tools/test/helpers",
],
)
jasmine_test(
name = "integration",
data = [
":test_lib",
"//:node_modules/tinyglobby",
"//:node_modules/yargs",
"//packages/localize/tools/test/extract/integration/test_files",
"//packages/localize/tools/test/extract/integration/test_files:compile_es2015",
"//packages/localize/tools/test/extract/integration/test_files:compile_es5",
],
)