2018-01-09 18:24:00 -05:00
|
|
|
load("//tools:defaults.bzl", "ts_library")
|
2017-12-17 18:10:54 -05:00
|
|
|
load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
|
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
|
|
|
testonly = 1,
|
|
|
|
srcs = glob(["**/*.ts"]),
|
|
|
|
deps = [
|
|
|
|
"//packages:types",
|
|
|
|
"//packages/animations",
|
|
|
|
"//packages/common",
|
|
|
|
"//packages/common/http",
|
|
|
|
"//packages/common/http/testing",
|
|
|
|
"//packages/compiler",
|
|
|
|
"//packages/core",
|
|
|
|
"//packages/core/testing",
|
|
|
|
"//packages/http",
|
|
|
|
"//packages/http/testing",
|
|
|
|
"//packages/platform-browser",
|
|
|
|
"//packages/platform-server",
|
|
|
|
"@rxjs",
|
2018-03-30 02:34:55 -04:00
|
|
|
"@rxjs//operators",
|
2017-12-17 18:10:54 -05:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "test",
|
2017-12-19 18:03:29 -05:00
|
|
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
2017-12-17 18:10:54 -05:00
|
|
|
deps = [
|
|
|
|
":test_lib",
|
2017-12-18 18:37:05 -05:00
|
|
|
"//tools/testing:node",
|
2017-12-17 18:10:54 -05:00
|
|
|
],
|
|
|
|
)
|