mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
4e26ef996b
Migrate additional targets to jasmine_test PR Close #62132
34 lines
1.0 KiB
Python
34 lines
1.0 KiB
Python
load("//tools:defaults2.bzl", "jasmine_test", "ts_project")
|
|
|
|
ts_project(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob(
|
|
["**/*.ts"],
|
|
),
|
|
visibility = ["//packages/localize/tools/test:__subpackages__"],
|
|
deps = [
|
|
"//:node_modules/@babel/generator",
|
|
"//:node_modules/@types/babel__generator",
|
|
"//:node_modules/tinyglobby",
|
|
"//packages:types_rjs",
|
|
"//packages/compiler:compiler_rjs",
|
|
"//packages/compiler-cli/private:private_rjs",
|
|
"//packages/compiler-cli/src/ngtsc/file_system:file_system_rjs",
|
|
"//packages/compiler-cli/src/ngtsc/file_system/testing:testing_rjs",
|
|
"//packages/compiler-cli/src/ngtsc/logging/testing:testing_rjs",
|
|
"//packages/localize:localize_rjs",
|
|
"//packages/localize/src/utils:utils_rjs",
|
|
"//packages/localize/tools:tools_rjs",
|
|
"//packages/localize/tools/test/helpers:helpers_rjs",
|
|
],
|
|
)
|
|
|
|
jasmine_test(
|
|
name = "test",
|
|
data = [
|
|
":test_lib_rjs",
|
|
"//:node_modules/tinyglobby",
|
|
],
|
|
)
|