mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
2fcafb65c5
Use defaults.bzl for the common macros PR Close #63383
25 lines
532 B
Python
25 lines
532 B
Python
load("//tools:defaults.bzl", "ng_web_test_suite", "ts_project")
|
|
|
|
ts_project(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob(["**/*.ts"]),
|
|
deps = [
|
|
"//:node_modules/rxjs",
|
|
"//:node_modules/zone.js",
|
|
"//packages/compiler",
|
|
"//packages/core",
|
|
"//packages/core/testing",
|
|
"//packages/elements",
|
|
"//packages/platform-browser",
|
|
"//packages/platform-browser/testing",
|
|
],
|
|
)
|
|
|
|
ng_web_test_suite(
|
|
name = "test",
|
|
deps = [
|
|
":test_lib",
|
|
],
|
|
)
|