mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Use the new jasmine_test based on rules_js instead of jasmine_node_test from rules_nodejs PR Close #62086
31 lines
637 B
Text
31 lines
637 B
Text
load("//tools:defaults.bzl", "karma_web_test_suite")
|
|
load("//tools:defaults2.bzl", "angular_jasmine_test", "ts_project")
|
|
|
|
ts_project(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob(
|
|
["**/*.ts"],
|
|
),
|
|
# Visible to //:saucelabs_unit_tests_poc target
|
|
visibility = ["//:__pkg__"],
|
|
deps = [
|
|
"//:node_modules/rxjs",
|
|
"//packages/common/http:http_rjs",
|
|
"//packages/common/http/testing:testing_rjs",
|
|
],
|
|
)
|
|
|
|
angular_jasmine_test(
|
|
name = "test",
|
|
data = [
|
|
":test_lib_rjs",
|
|
],
|
|
)
|
|
|
|
karma_web_test_suite(
|
|
name = "test_web",
|
|
deps = [
|
|
":test_lib",
|
|
],
|
|
)
|