test(bazel): integration test for ng new with Bazel (#27659)

integration test for bazel build and bazel test

PR Close #27659
This commit is contained in:
Keen Yee Liau
2018-12-12 15:39:14 -08:00
committed by Miško Hevery
parent 5902a4629c
commit 3680aef801
5 changed files with 2403 additions and 2 deletions

View File

@ -88,6 +88,7 @@ ts_library(
deps = [
"@angular//packages/core/testing",
"@angular//packages/platform-browser-dynamic/testing",
"@npm//@types",
],
)

View File

@ -36,8 +36,8 @@ function addDevDependenciesToPackageJson(options: Schema) {
const devDependencies: {[k: string]: string} = {
'@angular/bazel': angularCoreVersion,
// TODO(kyliau): Consider moving this to latest-versions.ts
'@bazel/karma': '^0.21.0',
'@bazel/typescript': '^0.21.0',
'@bazel/karma': '^0.22.0',
'@bazel/typescript': '^0.22.0',
};
const recorder = host.beginUpdate(packageJson);