2019-06-18 13:39:29 -04:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
2019-02-11 17:18:29 -05:00
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
|
|
|
testonly = True,
|
|
|
|
srcs = glob(["**/*.ts"]),
|
|
|
|
deps = [
|
|
|
|
"//packages/common",
|
|
|
|
"//packages/common/testing",
|
2019-04-23 10:16:08 -04:00
|
|
|
"//packages/common/upgrade",
|
|
|
|
"//packages/core",
|
2019-02-11 17:18:29 -05:00
|
|
|
"//packages/core/testing",
|
|
|
|
"//packages/upgrade/static",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "test",
|
|
|
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
|
|
|
deps = [
|
|
|
|
":test_lib",
|
|
|
|
"//tools/testing:node",
|
|
|
|
],
|
|
|
|
)
|