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