build(bazel): enable manual ts_web_test_suite tests that require static_files (#24279)

PR Close #24279
This commit is contained in:
Greg Magolan
2018-06-03 23:06:17 -07:00
committed by Victor Berchet
parent faf60d9310
commit 3e51a2cb26
5 changed files with 16 additions and 8 deletions

View File

@ -1,6 +1,11 @@
load("//tools:defaults.bzl", "ts_library", "ts_web_test_suite")
load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
exports_files([
"browser/static_assets/200.html",
"static_assets/test.html",
])
ts_library(
name = "test_lib",
testonly = 1,
@ -35,8 +40,9 @@ jasmine_node_test(
ts_web_test_suite(
name = "test_web",
# disable since tests are running but not yet passing
tags = ["manual"],
static_files = [
":static_assets/test.html"
],
deps = [
":test_lib",
],

View File

@ -104,7 +104,7 @@ class SomeLibModule {
}
@Component(
{selector: 'comp', templateUrl: '/base/packages/platform-browser/test/static_assets/test.html'})
{selector: 'comp', templateUrl: '/base/angular/packages/platform-browser/test/static_assets/test.html'})
class CompWithUrlTemplate {
}