Currently, based on the file names it's not quite clear whether a given `.spec.ts` file runs benchmark perf or benchmark e2e functionality tests. To disambiguate these, we use new file suffixs. i.e. `e2e-spec.ts` and `perf-spec.ts`. PR Close #34753
27 lines
620 B
Python
27 lines
620 B
Python
package(default_visibility = ["//modules/benchmarks:__subpackages__"])
|
|
|
|
load("//tools:defaults.bzl", "ts_library")
|
|
|
|
ts_library(
|
|
name = "perf_tests_lib",
|
|
testonly = 1,
|
|
srcs = ["largeform.perf-spec.ts"],
|
|
tsconfig = "//modules/benchmarks:tsconfig-e2e.json",
|
|
deps = [
|
|
"//modules/e2e_util",
|
|
"@npm//protractor",
|
|
],
|
|
)
|
|
|
|
ts_library(
|
|
name = "e2e_tests_lib",
|
|
testonly = 1,
|
|
srcs = ["largeform.e2e-spec.ts"],
|
|
tsconfig = "//modules/benchmarks:tsconfig-e2e.json",
|
|
deps = [
|
|
"//modules/e2e_util",
|
|
"@npm//@types/jasminewd2",
|
|
"@npm//protractor",
|
|
],
|
|
)
|