mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
11767cabe4
Jasmine enables `forbidDuplicateNames: true` by default. So we also need to desambiguate duplicate spec names.
36 lines
1011 B
Python
36 lines
1011 B
Python
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,
|
|
)
|