mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
49a797f510
OnPush is now the default change detection strategy, so the explicit test configuration is no longer needed. Updates outdated Bazel test targets to use the zoneless configuration.
32 lines
597 B
Python
32 lines
597 B
Python
load("//tools:defaults.bzl", "ng_project", "ng_web_test_suite", "zoneless_jasmine_test")
|
|
|
|
package(default_visibility = ["//visibility:private"])
|
|
|
|
ng_project(
|
|
name = "resource_lib",
|
|
testonly = True,
|
|
srcs = glob(
|
|
["**/*.ts"],
|
|
),
|
|
deps = [
|
|
"//packages/core",
|
|
"//packages/core/src/util",
|
|
"//packages/core/testing",
|
|
"//packages/private/testing",
|
|
],
|
|
)
|
|
|
|
zoneless_jasmine_test(
|
|
name = "resource",
|
|
data = [
|
|
":resource_lib",
|
|
],
|
|
)
|
|
|
|
ng_web_test_suite(
|
|
name = "resource_web",
|
|
deps = [
|
|
":resource_lib",
|
|
],
|
|
)
|