2019-11-13 12:08:38 -05:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "karma_web_test_suite", "ts_library")
|
2018-11-27 15:32:14 -05:00
|
|
|
|
|
|
|
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",
|
2020-01-08 02:56:49 -05:00
|
|
|
bootstrap = ["//tools/testing:node_es5"],
|
2018-11-27 15:32:14 -05:00
|
|
|
deps = [
|
|
|
|
":expression_parser_lib",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2019-11-13 12:08:38 -05:00
|
|
|
karma_web_test_suite(
|
2018-11-27 15:32:14 -05:00
|
|
|
name = "expression_parser_web",
|
|
|
|
deps = [
|
|
|
|
":expression_parser_lib",
|
|
|
|
],
|
|
|
|
)
|