2025-08-25 20:00:53 +00:00
|
|
|
load("//tools:defaults.bzl", "ng_web_test_suite", "ts_project")
|
2020-06-12 16:25:08 +00:00
|
|
|
|
2025-05-20 15:20:49 +00:00
|
|
|
ts_project(
|
2020-06-12 16:25:08 +00:00
|
|
|
name = "test_lib",
|
|
|
|
|
testonly = True,
|
|
|
|
|
srcs = glob(["**/*.ts"]),
|
|
|
|
|
# Visible to //:saucelabs_unit_tests_poc target
|
|
|
|
|
visibility = ["//:__pkg__"],
|
|
|
|
|
deps = [
|
2025-06-26 12:50:03 +00:00
|
|
|
"//:node_modules/jasmine-core",
|
2025-05-20 15:20:49 +00:00
|
|
|
"//:node_modules/rxjs",
|
2025-07-30 17:43:25 +00:00
|
|
|
"//packages/common",
|
|
|
|
|
"//packages/common/http",
|
|
|
|
|
"//packages/core",
|
|
|
|
|
"//packages/core/testing",
|
|
|
|
|
"//packages/misc/angular-in-memory-web-api",
|
2020-06-12 16:25:08 +00:00
|
|
|
],
|
|
|
|
|
)
|
|
|
|
|
|
2025-06-26 12:50:03 +00:00
|
|
|
ng_web_test_suite(
|
2020-06-12 16:25:08 +00:00
|
|
|
name = "test_web",
|
|
|
|
|
deps = [
|
2025-07-30 17:43:25 +00:00
|
|
|
":test_lib",
|
2020-06-12 16:25:08 +00:00
|
|
|
],
|
|
|
|
|
)
|