mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
3fcd10912d
Migrates all `ng_module` to `ng_project` in `packages/core/test/`. PR Close #61571
32 lines
601 B
Python
32 lines
601 B
Python
load("//tools:defaults.bzl", "jasmine_node_test", "karma_web_test_suite")
|
|
load("//tools:defaults2.bzl", "ng_project")
|
|
|
|
package(default_visibility = ["//visibility:private"])
|
|
|
|
ng_project(
|
|
name = "resource_lib",
|
|
testonly = True,
|
|
srcs = glob(
|
|
["**/*.ts"],
|
|
),
|
|
interop_deps = [
|
|
"//packages/core",
|
|
"//packages/core/testing",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "resource",
|
|
bootstrap = ["//tools/testing:node"],
|
|
deps = [
|
|
":resource_lib",
|
|
],
|
|
)
|
|
|
|
karma_web_test_suite(
|
|
name = "resource_web",
|
|
deps = [
|
|
":resource_lib",
|
|
],
|
|
)
|