Skip to content

Commit 8bc4da8

Browse files
Keen Yee Liaujasonaden
authored andcommitted
fix(bazel): ng test should run specific ts_web_test_suite (#30526)
PR closes #30191 PR Close #30526
1 parent a5a2d52 commit 8bc4da8

File tree

1 file changed

+4
-1
lines changed
  • packages/bazel/src/schematics/ng-add

1 file changed

+4
-1
lines changed

packages/bazel/src/schematics/ng-add/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,10 @@ function updateAngularJsonToUseBazelBuilder(options: Schema): Rule {
174174
replacePropertyInAstObject(
175175
recorder, architect, 'test', {
176176
builder: '@angular/bazel:build',
177-
options: {'bazelCommand': 'test', 'targetLabel': '//src/...'},
177+
options: {
178+
bazelCommand: 'test',
179+
targetLabel: '//src:test',
180+
},
178181
},
179182
indent);
180183
}

0 commit comments

Comments
 (0)