mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
31e3eb20f9
Migrate karma tests throughout the repo to use the new web test runner based rule instead PR Close #62294
33 lines
754 B
Python
33 lines
754 B
Python
load("//tools:defaults2.bzl", "ng_web_test_suite", "ts_project")
|
|
|
|
ts_project(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob([
|
|
"**/*.ts",
|
|
]),
|
|
interop_deps = [
|
|
"//packages/core",
|
|
"//packages/core/testing",
|
|
"//packages/platform-browser",
|
|
"//packages/platform-browser-dynamic",
|
|
"//packages/platform-browser/testing",
|
|
"//packages/private/testing",
|
|
],
|
|
deps = [
|
|
"//packages/upgrade/src/common:common_rjs",
|
|
"//packages/upgrade/src/common/test/helpers:helpers_rjs",
|
|
"//packages/upgrade/static:static_rjs",
|
|
],
|
|
)
|
|
|
|
ng_web_test_suite(
|
|
name = "test",
|
|
data = [
|
|
"//:angularjs_scripts",
|
|
],
|
|
deps = [
|
|
":test_lib_rjs",
|
|
],
|
|
)
|