angular/aio/content/examples/testing/src/app
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
..
about test(docs-infra): fix unit tests and run them for specific docs examples on CI (#36143) 2020-04-06 15:31:07 -07:00
banner docs: testing guide for CLI (#20697) 2018-02-26 13:40:23 -08:00
dashboard docs: fix testing example (#31120) 2019-06-25 10:28:50 -07:00
demo test(docs-infra): fix unit tests and run them for specific docs examples on CI (#36143) 2020-04-06 15:31:07 -07:00
hero refactor: utilize type narrowing (#33075) 2019-10-10 15:18:44 -07:00
model refactor: utilize type narrowing (#33075) 2019-10-10 15:18:44 -07:00
shared build(docs-infra): update project structure to cli@9 2/12 (fixture.debugElement.componentInstance) (#36015) 2020-03-18 10:00:01 -07:00
twain docs: fix testing example (#31120) 2019-06-25 10:28:50 -07:00
welcome test(docs-infra): fix unit tests and run them for specific docs examples on CI (#36143) 2020-04-06 15:31:07 -07:00
app-initial.component.spec.ts build(docs-infra): update project structure to cli@9 3/12 (title in a h1 tag) (#36015) 2020-03-18 10:00:01 -07:00
app-initial.component.ts docs: testing guide for CLI (#20697) 2018-02-26 13:40:23 -08:00
app-routing.module.ts test(docs-infra): fix unit tests and run them for specific docs examples on CI (#36143) 2020-04-06 15:31:07 -07:00
app.component.html docs: testing guide for CLI (#20697) 2018-02-26 13:40:23 -08:00
app.component.router.spec.ts test(docs-infra): fix unit tests and run them for specific docs examples on CI (#36143) 2020-04-06 15:31:07 -07:00
app.component.spec.ts docs: testing guide for CLI (#20697) 2018-02-26 13:40:23 -08:00
app.component.ts build(aio): change examples to CLI (#19248) 2017-09-21 17:05:54 -07:00
app.module.ts test(docs-infra): fix unit tests and run them for specific docs examples on CI (#36143) 2020-04-06 15:31:07 -07:00
dummy.module.ts docs: testing guide for CLI (#20697) 2018-02-26 13:40:23 -08:00
in-memory-data.service.ts docs: remove gender prefixes from examples (#29972) 2019-05-20 16:42:59 -07:00