forked from angular/angular
/
BUILD.bazel
34 lines (32 loc) · 1.04 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
ts_library(
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/test/helpers",
"//packages/localize/src/tools",
"//packages/localize/src/tools/test:test_lib",
],
)
jasmine_node_test(
name = "integration",
bootstrap = ["//tools/testing:node_no_angular_es5"],
data = [
"//packages/localize/src/tools/test/extract/integration/test_files",
"//packages/localize/src/tools/test/extract/integration/test_files:compile_es2015",
"//packages/localize/src/tools/test/extract/integration/test_files:compile_es5",
],
deps = [
":test_lib",
"@npm//glob",
"@npm//yargs",
],
)