angular-cn/packages/compiler/test/expression_parser/BUILD.bazel

32 lines
807 B
Python
Raw Normal View History

load("//tools:defaults.bzl", "jasmine_node_test", "karma_web_test_suite", "ts_library")
ts_library(
name = "expression_parser_lib",
testonly = True,
srcs = glob(["**/*.ts"]),
deps = [
"//packages:types",
"//packages/compiler",
"//packages/compiler/test/expression_parser/utils",
"//packages/compiler/testing",
"//packages/platform-browser/testing",
],
)
jasmine_node_test(
name = "expression_parser",
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
deps = [
":expression_parser_lib",
"//tools/testing:node",
"//tools/testing:node_es5",
],
)
karma_web_test_suite(
name = "expression_parser_web",
deps = [
":expression_parser_lib",
],
)