angular-cn/packages/examples
Paul Gschwendtner bcdd4b5729 build: run example unit tests with bazel (#28703)
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
2019-02-20 16:31:48 -08:00
..
common build(bazel): do not build rxjs from source under Bazel (#28720) 2019-02-19 16:28:14 -08:00
compiler build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -08:00
core build: run example unit tests with bazel (#28703) 2019-02-20 16:31:48 -08:00
forms build(bazel): do not build rxjs from source under Bazel (#28720) 2019-02-19 16:28:14 -08:00
http build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -08:00
platform-browser build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -08:00
test-utils build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -08:00
testing build(bazel): specify tsconfig-test dependency (#28696) 2019-02-16 20:57:34 -08:00
upgrade build(bazel): do not build rxjs from source under Bazel (#28720) 2019-02-19 16:28:14 -08:00
BUILD.bazel build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -08:00
README.md build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -08:00
index.html 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

README.md

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