mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
48 lines
1.5 KiB
Text
48 lines
1.5 KiB
Text
load("//tools:defaults.bzl", "karma_web_test_suite", "zone_compatible_jasmine_node_test")
|
|
load("//tools:defaults2.bzl", "ts_project")
|
|
|
|
ts_project(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob(["**/*.ts"]),
|
|
interop_deps = [
|
|
"//packages/platform-browser",
|
|
"//packages/platform-browser/testing",
|
|
"//packages/private/testing",
|
|
],
|
|
# Visible to //:saucelabs_unit_tests_poc target
|
|
visibility = ["//:__pkg__"],
|
|
deps = [
|
|
"//:node_modules/rxjs",
|
|
"//packages/common:common_rjs",
|
|
"//packages/core:core_rjs",
|
|
"//packages/core/testing:testing_rjs",
|
|
"//packages/forms:forms_rjs",
|
|
],
|
|
)
|
|
|
|
# Tests rely on `async/await` for a `waitForAsync` test.
|
|
# This syntax needs to be downleveled until ZoneJS supports it.
|
|
zone_compatible_jasmine_node_test(
|
|
name = "test",
|
|
bootstrap = ["//tools/testing:node"],
|
|
deps = [
|
|
":test_lib",
|
|
],
|
|
)
|
|
|
|
karma_web_test_suite(
|
|
name = "test_web",
|
|
tags = [
|
|
# disabled on 2020-04-14 due to failure on saucelabs monitor job
|
|
# https://app.circleci.com/pipelines/github/angular/angular/13320/workflows/9ca3527a-d448-4a64-880a-fb4de9d1fece/jobs/680645
|
|
# ```
|
|
# IE 11.0.0 (Windows 8.1.0.0) template-driven forms integration tests basic functionality should report properties which are written outside of template bindings FAILED
|
|
# InvalidStateError: InvalidStateError
|
|
# ```
|
|
"fixme-saucelabs",
|
|
],
|
|
deps = [
|
|
":test_lib",
|
|
],
|
|
)
|