mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Jasmine enables `forbidDuplicateNames: true` by default. So we also need to desambiguate duplicate spec names.
35 lines
1,011 B
Text
35 lines
1,011 B
Text
load("//tools:defaults.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__core",
|
|
"//:node_modules/@types/babel__generator",
|
|
"//:node_modules/tinyglobby",
|
|
"//packages:types",
|
|
"//packages/compiler",
|
|
"//packages/compiler-cli/private",
|
|
"//packages/compiler-cli/src/ngtsc/file_system",
|
|
"//packages/compiler-cli/src/ngtsc/file_system/testing",
|
|
"//packages/compiler-cli/src/ngtsc/logging/testing",
|
|
"//packages/localize",
|
|
"//packages/localize/src/utils",
|
|
"//packages/localize/tools",
|
|
"//packages/localize/tools/test/helpers",
|
|
],
|
|
)
|
|
|
|
jasmine_test(
|
|
name = "test",
|
|
data = [
|
|
":test_lib",
|
|
"//:node_modules/tinyglobby",
|
|
],
|
|
shard_count = 4,
|
|
)
|