mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Since we generate a `.mjs` file as entry-point for jasmine tests, a couple of issues prevented the transitive dependencies from bootstrap targets to be brought in (causing resolution errors): 1. The `_files` (previously `_esm2015`) targets are no longer needed, and they also miss all the information on runfiles. 2. The aspect for computing linker mappings does not respect the `bootstrap` attribute from the `spec_entrypoint` so we manually add the extract ESM output targets (this rule works with the aspect and forwards linker mappings). PR Close #48521 |
||
|---|---|---|
| .. | ||
| common | ||
| core | ||
| forms | ||
| http | ||
| platform-browser | ||
| router/activated-route | ||
| service-worker | ||
| 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/...