build(bazel): enable manual ts_web_test_suite tests that require static_files (#24279)
PR Close #24279
This commit is contained in:

committed by
Victor Berchet

parent
faf60d9310
commit
3e51a2cb26
@ -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",
|
||||
],
|
||||
|
@ -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 {
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user