angular/packages/examples
Andrew Scott c2dd703d2f refactor(core): Remove internal-only testability features (#53767)
This commit removes the testability features that are internal only.
This simplifies the implementation of testability which will need
updates to support zoneless. Those updates will be easier to manage if
the Testability implementation is simpler.
While protractor is indeed officially EOL, we will still need to do some
updates to support teams migrating to zoneless that have protractor
tests.

As far as protractor's own use of `whenStable`, it does not read the
internal only methods either:
https://github.com/angular/protractor/blob/master/lib/clientsidescripts.js
Anything else depending on these values are not following the defined public API
contract.

PR Close #53767
2024-01-09 14:46:46 -08:00
..
common feat(common): add component input binding support for NgComponentOutlet (#51148) 2023-07-25 09:16:19 -07:00
core refactor(core): Remove internal-only testability features (#53767) 2024-01-09 14:46:46 -08:00
forms docs(forms): replace fb with formBuilder (#52261) 2023-10-19 09:24:39 -07:00
http build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -08:00
platform-browser build(bazel): add bazel targets for aio doc generation 2022-11-22 13:51:16 -07:00
router build: align with internal tsconfig options (#51728) 2023-09-12 11:39:42 -07:00
service-worker refactor(compiler): drop obsolete NgFactory and NgSummary config options (#48268) 2023-02-21 13:03:59 -08:00
test-utils build: remove remaining usages of deprecated ts_devserver (#48521) 2022-12-19 19:50:44 +00:00
testing build(bazel): add bazel targets for aio doc generation 2022-11-22 13:51:16 -07:00
upgrade feat(core): remove entryComponents (#49484) 2023-03-23 10:38:03 -07:00
BUILD.bazel build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -08:00
index.html refactor: switch packages/examples to ESM-compatible http server (#48521) 2022-12-19 19:50:44 +00:00
README.md build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -08:00
tsconfig-e2e.json build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -08:00

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/...