fix(bazel): ng test should run specific ts_web_test_suite (#30526)

PR closes https://github.com/angular/angular/issues/30191

PR Close #30526
This commit is contained in:
Keen Yee Liau 2019-05-16 15:15:43 -07:00 committed by Jason Aden
parent d7eaae6f22
commit e688e02ee4
1 changed files with 4 additions and 1 deletions

View File

@ -174,7 +174,10 @@ function updateAngularJsonToUseBazelBuilder(options: Schema): Rule {
replacePropertyInAstObject( replacePropertyInAstObject(
recorder, architect, 'test', { recorder, architect, 'test', {
builder: '@angular/bazel:build', builder: '@angular/bazel:build',
options: {'bazelCommand': 'test', 'targetLabel': '//src/...'}, options: {
bazelCommand: 'test',
targetLabel: '//src:test',
},
}, },
indent); indent);
} }