build(bazel): //modules/benchmarks/src/largetable/render3:perf bazel protractor test (#24788)

PR Close #24788
This commit is contained in:
Greg Magolan
2018-07-06 15:42:07 -07:00
committed by Victor Berchet
parent 445b9a5627
commit e38b2b502c
15 changed files with 243 additions and 19 deletions

View File

@ -0,0 +1,13 @@
package(default_visibility = ["//visibility:public"])
load("//tools:defaults.bzl", "ts_library")
ts_library(
name = "lib",
testonly = 1,
srcs = glob(["*.ts"]),
deps = [
"//packages:types",
"//packages/benchpress",
],
)

View File

@ -20,8 +20,10 @@ export function readCommandLine(extraOptions?: {[key: string]: any}) {
const options: {[key: string]: any} = {
'bundles': {describe: 'Whether to use the angular bundles or not.', default: false}
};
for (const key in extraOptions) {
options[key] = extraOptions[key];
if (extraOptions) {
for (const key in extraOptions) {
options[key] = extraOptions[key];
}
}
cmdArgs = yargs.usage('Angular e2e test options.').options(options).help('ng-help').wrap(40).argv;