98e5af1480
* No longer builds the example e2e tests using "tsc". The examples are now built with Bazel and can therefore be built with Ivy by using the `--define=compile=aot` switch. * No longer runs the example e2e tests using the protractor CLI. example e2e tests are executed with the Bazel protractor rule and can therefore run incrementally. NOTE: Unit tests found within the examples are still running within the legacy jobs. PR Close #28402
21 lines
512 B
Markdown
21 lines
512 B
Markdown
# 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/...
|
|
``` |