mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
0e641241fb
OnPush is now the default change detection strategy, so the explicit test and example configuration is no longer needed.
(cherry picked from commit 9e5ae4b710)
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)
pnpm bazel run //packages/examples/common:devserver
# "core" examples
pnpm bazel run //packages/examples/core:devserver
Running the tests
pnpm bazel test //packages/examples/...