mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
With #28402 we updated the `examples` package to be built and tested with Bazel. This PR was only intended for the e2e integration tests, and there still seem to be a few unit tests that need to be migrated to Bazel until we can remove the legacy local unit tests job. PR Close #28703 |
||
|---|---|---|
| .. | ||
| common | ||
| compiler | ||
| core | ||
| forms | ||
| http | ||
| platform-browser | ||
| test-utils | ||
| testing | ||
| upgrade | ||
| BUILD.bazel | ||
| index.html | ||
| README.md | ||
| tsconfig-e2e.json | ||
API Examples
This folder contains small example apps that get in-lined into our API docs. Each example contains tests for application behavior (as opposed to testing Angular's behavior) just like an Angular application developer would write.
Running the examples
# Serving individual examples (e.g. common)
yarn bazel run //packages/examples/common:devserver
# "core" examples
yarn bazel run //packages/examples/core:devserver
Running the tests
yarn bazel test //packages/examples/...