mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
To work around the limitation of #54858, this commit removes temporarly the dependency to `core/rxjs-interop` to allow the removal of the microtask effect which was pulled by that entry. This commit is intented to be reverted once the next patch/next is released. PR Close #60234
58 lines
1.1 KiB
Text
58 lines
1.1 KiB
Text
load("//tools:defaults.bzl", "karma_web_test_suite", "ng_module", "ts_library")
|
|
|
|
package(default_visibility = ["//visibility:private"])
|
|
|
|
ts_library(
|
|
name = "services",
|
|
srcs = [
|
|
"index.ts",
|
|
],
|
|
visibility = ["//adev/shared-docs:__subpackages__"],
|
|
deps = [
|
|
":lib",
|
|
],
|
|
)
|
|
|
|
ng_module(
|
|
name = "lib",
|
|
srcs = glob(
|
|
[
|
|
"**/*.ts",
|
|
],
|
|
exclude = [
|
|
"index.ts",
|
|
"**/*.spec.ts",
|
|
],
|
|
),
|
|
deps = [
|
|
"//adev/shared-docs/interfaces",
|
|
"//adev/shared-docs/providers",
|
|
"//adev/shared-docs/utils",
|
|
"//packages/common",
|
|
"//packages/core",
|
|
"//packages/router",
|
|
"@npm//algoliasearch",
|
|
"@npm//rxjs",
|
|
],
|
|
)
|
|
|
|
ts_library(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob(
|
|
["*.spec.ts"],
|
|
),
|
|
deps = [
|
|
":lib",
|
|
"//adev/shared-docs/interfaces",
|
|
"//adev/shared-docs/providers",
|
|
"//packages/common",
|
|
"//packages/core",
|
|
"//packages/core/testing",
|
|
],
|
|
)
|
|
|
|
karma_web_test_suite(
|
|
name = "test",
|
|
deps = [":test_lib"],
|
|
)
|