build: migrate tests infrastructure to ts_project

The miscellaneous test infrastructure targets within `tests/` have been migrated to the `rules_js` ts_project rule.
This commit is contained in:
Charles Lyding 2025-01-02 10:16:45 -05:00 committed by Charles
parent 8b68d9fe7c
commit 7b15a15af8
2 changed files with 11 additions and 14 deletions

View File

@ -1,4 +1,4 @@
load("//tools:defaults.bzl", "ts_library")
load("//tools:interop.bzl", "ts_project")
# Copyright Google Inc. All Rights Reserved.
#
@ -8,7 +8,7 @@ package(default_visibility = ["//visibility:public"])
licenses(["notice"])
ts_library(
ts_project(
name = "jobs_test_lib",
srcs = glob(
include = [
@ -16,7 +16,7 @@ ts_library(
],
),
deps = [
"//packages/angular_devkit/architect",
"@npm//@types/node",
"//:root_modules/@types/node",
"//packages/angular_devkit/architect:architect_rjs",
],
)

View File

@ -1,4 +1,4 @@
load("//tools:defaults.bzl", "ts_library")
load("//tools:interop.bzl", "ts_project")
# Copyright Google Inc. All Rights Reserved.
#
@ -8,7 +8,7 @@ package(default_visibility = ["//visibility:public"])
licenses(["notice"])
ts_library(
ts_project(
name = "file_system_engine_host_test_lib",
srcs = glob(
include = [
@ -21,14 +21,11 @@ ts_library(
"**/*.js",
],
),
deps = [
interop_deps = [
"//packages/angular_devkit/schematics",
# ":testing",
# "//packages/angular_devkit/core",
# "//packages/angular_devkit/core/node",
# "@npm//rxjs",
#
"@npm//@types/jasmine",
"@npm//@types/node",
],
deps = [
"//:root_modules/@types/jasmine",
"//:root_modules/@types/node",
],
)