1- load ("//tools:defaults.bzl" , "ts_library" )
21load ("//tools:defaults2.bzl" , "ts_project" )
32
43package (default_visibility = ["//visibility:public" ])
@@ -10,57 +9,59 @@ ts_project(
109 deps = ["//modules/benchmarks/src:util_lib_rjs" ],
1110)
1211
13- ts_library (
12+ ts_project (
1413 name = "test_utils_lib" ,
1514 testonly = 1 ,
1615 srcs = ["test_utils.ts" ],
17- tsconfig = "//modules/benchmarks:tsconfig-e2e.json" ,
18- deps = [
16+ interop_deps = [
1917 "@npm//@angular/build-tooling/bazel/benchmark/driver-utilities" ,
20- "@npm//protractor" ,
18+ ],
19+ tsconfig = "//modules/benchmarks:tsconfig_e2e" ,
20+ deps = [
21+ "//:node_modules/protractor" ,
2122 ],
2223)
2324
24- ts_library (
25+ ts_project (
2526 name = "perf_tests_lib" ,
2627 testonly = 1 ,
2728 srcs = ["tree.perf-spec.ts" ],
28- tsconfig = "//modules/benchmarks:tsconfig-e2e.json " ,
29+ tsconfig = "//modules/benchmarks:tsconfig_e2e " ,
2930 deps = [
30- ":test_utils_lib " ,
31- "@npm/ /protractor" ,
31+ ":test_utils_lib_rjs " ,
32+ "//:node_modules /protractor" ,
3233 ],
3334)
3435
35- ts_library (
36+ ts_project (
3637 name = "e2e_tests_lib" ,
3738 testonly = 1 ,
3839 srcs = ["tree.e2e-spec.ts" ],
39- tsconfig = "//modules/benchmarks:tsconfig-e2e.json " ,
40+ tsconfig = "//modules/benchmarks:tsconfig_e2e " ,
4041 deps = [
41- ":test_utils_lib " ,
42- "@npm/ /protractor" ,
42+ ":test_utils_lib_rjs " ,
43+ "//:node_modules /protractor" ,
4344 ],
4445)
4546
46- ts_library (
47+ ts_project (
4748 name = "detect_changes_perf_tests_lib" ,
4849 testonly = 1 ,
4950 srcs = ["tree_detect_changes.perf-spec.ts" ],
50- tsconfig = "//modules/benchmarks:tsconfig-e2e.json " ,
51+ tsconfig = "//modules/benchmarks:tsconfig_e2e " ,
5152 deps = [
52- ":test_utils_lib " ,
53- "@npm/ /protractor" ,
53+ ":test_utils_lib_rjs " ,
54+ "//:node_modules /protractor" ,
5455 ],
5556)
5657
57- ts_library (
58+ ts_project (
5859 name = "detect_changes_e2e_tests_lib" ,
5960 testonly = 1 ,
6061 srcs = ["tree_detect_changes.e2e-spec.ts" ],
61- tsconfig = "//modules/benchmarks:tsconfig-e2e.json " ,
62+ tsconfig = "//modules/benchmarks:tsconfig_e2e " ,
6263 deps = [
63- ":test_utils_lib " ,
64- "@npm/ /protractor" ,
64+ ":test_utils_lib_rjs " ,
65+ "//:node_modules /protractor" ,
6566 ],
6667)
0 commit comments