mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
1f6fa260c3
This commit removes most tests that were designated as only covering View Engine code. It also removes tag filters from CI and local commands to run tests. In a few cases (such as with the packages/compiler tests), this tag was improperly applied, and certain test cases have been added back running in Ivy mode. This commit also empties `@angular/compiler/testing` as it is no longer necessary (this is safe since compiler packages are not public API). It can be deleted in the future. PR Close #44218
55 lines
1.4 KiB
Python
55 lines
1.4 KiB
Python
load("//tools:defaults.bzl", "jasmine_node_test", "karma_web_test_suite", "ts_library")
|
|
|
|
package(default_visibility = ["//visibility:private"])
|
|
|
|
ts_library(
|
|
name = "acceptance_lib",
|
|
testonly = True,
|
|
srcs = glob(
|
|
["**/*.ts"],
|
|
),
|
|
# Visible to //:saucelabs_unit_tests
|
|
visibility = ["//:__pkg__"],
|
|
deps = [
|
|
"//packages/animations",
|
|
"//packages/animations/browser",
|
|
"//packages/animations/browser/testing",
|
|
"//packages/common",
|
|
"//packages/common/locales",
|
|
"//packages/compiler",
|
|
"//packages/core",
|
|
"//packages/core/src/util",
|
|
"//packages/core/test/render3:matchers",
|
|
"//packages/core/testing",
|
|
"//packages/localize",
|
|
"//packages/localize/init",
|
|
"//packages/platform-browser",
|
|
"//packages/platform-browser-dynamic",
|
|
"//packages/platform-browser/animations",
|
|
"//packages/platform-browser/testing",
|
|
"//packages/platform-server",
|
|
"//packages/private/testing",
|
|
"//packages/router",
|
|
"//packages/zone.js/lib:zone_d_ts",
|
|
"@npm//rxjs",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "acceptance",
|
|
bootstrap = ["//tools/testing:node_es5"],
|
|
deps = [
|
|
":acceptance_lib",
|
|
"//packages/zone.js/lib:zone_d_ts",
|
|
"@npm//base64-js",
|
|
"@npm//source-map",
|
|
],
|
|
)
|
|
|
|
karma_web_test_suite(
|
|
name = "acceptance_web",
|
|
deps = [
|
|
":acceptance_lib",
|
|
],
|
|
)
|