mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Migrate karma tests throughout the repo to use the new web test runner based rule instead PR Close #62292
25 lines
670 B
Text
25 lines
670 B
Text
load("//tools:defaults2.bzl", "ng_web_test_suite", "ts_project")
|
|
|
|
ts_project(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob(["**/*.ts"]),
|
|
# Visible to //:saucelabs_unit_tests_poc target
|
|
visibility = ["//:__pkg__"],
|
|
deps = [
|
|
"//:node_modules/jasmine-core",
|
|
"//:node_modules/rxjs",
|
|
"//packages/common:common_rjs",
|
|
"//packages/common/http:http_rjs",
|
|
"//packages/core:core_rjs",
|
|
"//packages/core/testing:testing_rjs",
|
|
"//packages/misc/angular-in-memory-web-api:angular-in-memory-web-api_rjs",
|
|
],
|
|
)
|
|
|
|
ng_web_test_suite(
|
|
name = "test_web",
|
|
deps = [
|
|
":test_lib_rjs",
|
|
],
|
|
)
|