2019-07-30 13:02:17 -04:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
|
|
|
testonly = True,
|
|
|
|
srcs = glob(
|
2019-09-13 07:46:05 -04:00
|
|
|
["**/*_spec.ts"],
|
2019-07-30 13:02:17 -04:00
|
|
|
),
|
|
|
|
deps = [
|
|
|
|
"//packages:types",
|
|
|
|
"//packages/localize",
|
2019-08-10 07:51:30 -04:00
|
|
|
"//packages/localize/init",
|
2019-10-08 09:46:28 -04:00
|
|
|
"//packages/localize/src/utils",
|
2019-07-30 13:02:17 -04:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "test",
|
2020-01-10 16:39:52 -05:00
|
|
|
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_no_angular_es5))"],
|
2019-07-30 13:02:17 -04:00
|
|
|
deps = [
|
|
|
|
":test_lib",
|
2020-01-10 16:39:52 -05:00
|
|
|
"//tools/testing:node_no_angular_es5",
|
2019-07-30 13:02:17 -04:00
|
|
|
],
|
|
|
|
)
|