Skip to content

Commit

Permalink
build: migrate tests infrastructure to ts_project
Browse files Browse the repository at this point in the history
The miscellaneous test infrastructure targets within `tests/` have been migrated to the `rules_js` ts_project rule.
  • Loading branch information
clydin committed Jan 6, 2025
1 parent 8b68d9f commit 7b15a15
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
8 changes: 4 additions & 4 deletions tests/angular_devkit/architect/node/jobs/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//tools:defaults.bzl", "ts_library")
load("//tools:interop.bzl", "ts_project")

# Copyright Google Inc. All Rights Reserved.
#
Expand All @@ -8,15 +8,15 @@ package(default_visibility = ["//visibility:public"])

licenses(["notice"])

ts_library(
ts_project(
name = "jobs_test_lib",
srcs = glob(
include = [
"**/*.ts",
],
),
deps = [
"//packages/angular_devkit/architect",
"@npm//@types/node",
"//:root_modules/@types/node",
"//packages/angular_devkit/architect:architect_rjs",
],
)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//tools:defaults.bzl", "ts_library")
load("//tools:interop.bzl", "ts_project")

# Copyright Google Inc. All Rights Reserved.
#
Expand All @@ -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 = [
Expand All @@ -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",
],
)

0 comments on commit 7b15a15

Please sign in to comment.