2018-01-09 18:24:00 -05:00
|
|
|
load("//tools:defaults.bzl", "ts_library")
|
|
|
|
load("@build_bazel_rules_typescript//:defs.bzl", "ts_web_test")
|
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/compiler",
|
|
|
|
"//packages/language-service",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "test",
|
2017-12-18 18:37:05 -05:00
|
|
|
bootstrap = ["angular_src/tools/testing/init_node_spec.js"],
|
2017-12-17 18:10:54 -05:00
|
|
|
# dissable since tests are running but not yet passing
|
|
|
|
tags = ["manual"],
|
|
|
|
deps = [
|
|
|
|
":test_lib",
|
2017-12-18 18:37:05 -05:00
|
|
|
"//tools/testing:node",
|
2017-12-17 18:10:54 -05:00
|
|
|
],
|
|
|
|
)
|