34 lines
901 B
Python
34 lines
901 B
Python
load("//tools:defaults.bzl", "ts_library", "ts_web_test_suite")
|
|
load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
|
|
|
|
ts_library(
|
|
name = "test_lib",
|
|
testonly = 1,
|
|
srcs = glob(["**/*.ts"]),
|
|
deps = [
|
|
"//packages:types",
|
|
"//packages/core",
|
|
"//packages/core/testing",
|
|
"//packages/platform-browser",
|
|
"//packages/platform-browser-dynamic",
|
|
"//packages/platform-browser/testing",
|
|
"//packages/upgrade",
|
|
"//packages/upgrade/static",
|
|
"@rxjs",
|
|
],
|
|
)
|
|
|
|
ts_web_test_suite(
|
|
name = "test_web",
|
|
bootstrap = [
|
|
# "//:angularjs",
|
|
],
|
|
# Disable since tests need to request different AngularJS versions at
|
|
# runtime, which is not yet supported.
|
|
# (Related issue: https://github.com/bazelbuild/rules_typescript/issues/131)
|
|
tags = ["manual"],
|
|
deps = [
|
|
":test_lib",
|
|
],
|
|
)
|