Skip to content

Commit cea83b2

Browse files
committed
build: update build_angular_test_lib to include all non builders spec files
1 parent 4b4cecf commit cea83b2

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

packages/angular_devkit/build_angular/BUILD.bazel

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,16 +184,17 @@ ts_library(
184184
testonly = True,
185185
srcs = glob(
186186
include = [
187-
"plugins/**/*_spec.ts",
188-
"src/utils/**/*_spec.ts",
189-
"src/babel/**/*_spec.ts",
190-
"src/angular-cli-files/**/*_spec.ts",
187+
"src/**/*_spec.ts",
188+
],
189+
exclude = [
190+
"src/builders/**/*_spec.ts",
191191
],
192192
),
193193
data = glob(["test/**/*"]),
194194
# strict_checks = False,
195195
deps = [
196196
":build_angular",
197+
":build_angular_test_utils",
197198
"//packages/angular_devkit/architect/testing",
198199
"//packages/angular_devkit/core",
199200
"@npm//prettier",
@@ -250,6 +251,9 @@ ts_library(
250251
"src/testing/**/*.ts",
251252
"src/**/tests/*.ts",
252253
],
254+
exclude = [
255+
"src/testing/**/*_spec.ts",
256+
],
253257
),
254258
data = glob(["test/**/*"]),
255259
tsconfig = "//:tsconfig-test.json",

0 commit comments

Comments
 (0)