angular-docs-cn/aio/content/examples/providers
George Kalpakas d707124fd9 test(docs-infra): fix unit tests and run them for specific docs examples on CI (#36143)
Previously, only e2e tests were run for docs examples on CI. As a
result, unit tests (which are included in the zipped archives we provide
for users to download and play with the examples locally) were often
outdated and broken.

This commit configures specific docs examples that have meaningful unit
tests to run them on CI (via the `run-example-e2e.js` script). Where
necessary, the unit tests are fixed to ensure they pass and reflect the
changes in the corresponding component/service.
This commit also removes some auto-generated unit tests that are not
meaningful (e.g. make trivial assertions, such that a component instance
is truthy) and are often broken anyway (e.g. because the corresponding
component has been changed in ways that make the tests fail).

PR Close #36143
2020-04-06 15:31:07 -07:00
..
e2e/src docs: update docs example dependencies to version 8 (#30385) 2019-05-17 14:16:55 -07:00
src test(docs-infra): fix unit tests and run them for specific docs examples on CI (#36143) 2020-04-06 15:31:07 -07:00
example-config.json build(docs-infra): remove obsolete content from `example-config.json` files (#36015) 2020-03-18 10:00:01 -07:00
stackblitz.json docs: update examples for tree-shakeable providers (#22961) 2018-03-28 07:53:04 -07:00