mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
nodejs rules 0.34.0 now includes protractor_web_test_suite rule (via new @bazel/protractor rule) so we switch to that location for that rule in this PR so that /packages/bazel/src/protractor can be removed in a future PR this PR also brings in node toolchain support which was released in nodejs rules 0.33.0. this is a prerequisite for RBE for mac & windows users bazel schematics also updated with the same. @bazel/bazel 0.28.1 npm package includes transitive dep on hide-bazel-files so we're able to remove an explicit dep on that as well. PR Close #31824 |
||
|---|---|---|
| .. | ||
| expanding_rows | ||
| largeform | ||
| largetable | ||
| old | ||
| tree | ||
| views | ||
| bootstrap_ng2.ts | ||
| bootstrap_plain.ts | ||
| BUILD.bazel | ||
| README.md | ||
| util.ts | ||
Benchmark Directory Layout
Bazel
Under bazel the rules for laying out test files are slightly different. Use largetable/render3 as an example.
Put the perf file in current subdirectory (ie largetable) such that the same perf file can be used for each of the sub-subdirectories. (ie largetable/* should all be testable with the same perf file largetable/largetable_perf.spec.ts). Under bazel, typescript protractor spec files must end with .spec.ts or .test.ts.