George Kalpakas
35ab6acab3
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:08 -07:00
George Kalpakas
c9fd8e39f3
build(docs-infra): update project structure to cli@9 6/12 (index.html
) ( #36015 )
...
Update `index.html` (mostly remove empty line).
PR Close #36015
2020-03-18 10:00:01 -07:00
George Kalpakas
fc325c49ec
build(docs-infra): update project structure to cli@9 3/12 (title in a h1 tag
) ( #36015 )
...
Make test description less implementation specific.
PR Close #36015
2020-03-18 10:00:01 -07:00
George Kalpakas
a8e936791b
build(docs-infra): update project structure to cli@9 2/12 (fixture.debugElement.componentInstance
) ( #36015 )
...
`fixture.debugElement.componentInstance` --> `fixture.componentInstance`
PR Close #36015
2020-03-18 10:00:01 -07:00
Oleg Teterin
79742a397f
fix(docs-infra): fix parameters with @Optional() decorator do not match declared, optional type ( #35150 )
...
PR Close #35150
2020-02-07 09:58:31 -08:00
Alan Agius
8f389361ec
docs: replace lazy loading import syntax parameter name ( #34599 )
...
We replace `mod` with `m` to be in line with what the CLI generates.
PR Close #34599
2020-01-07 10:44:12 -08:00
Kapunahele Wong
9a2d1fab84
docs: add correct default cli ngModule ( #31166 )
...
PR Close #31166
2019-07-08 10:25:57 -07:00
Brandon
e1af6e3c70
docs: use dynamic import syntax in examples using lazy loading ( #30563 )
...
PR Close #30563
2019-05-21 09:09:35 -07:00
Kapunahele Wong
e8921365b7
docs: remove coremodule references ( #28434 )
...
PR Close #28434
2019-03-29 10:29:51 -07:00
Kapunahele Wong
8a08ff1571
docs: fix comments in services example ( #26194 )
...
PR Close #26194
2019-01-16 17:38:23 -08:00
Brandon Roberts
67ad9468d3
docs: fix broken lazy loading examples with Angular CLI RC upgrade ( #25892 )
...
PR Close #25892
2018-10-09 17:04:19 -07:00
Daniel
c205516f0d
docs: refactor ngmodules example ( #25072 )
...
PR Close #25072
2018-07-24 21:03:38 -07:00
Victor Berchet
27d811a7ce
Revert "docs: update docs to use HttpClientModule instead of HttpModule ( #22727 )"
...
This reverts commit 3ed7fc668641e62767eb3bcf61e0f5e08a1875cc.
2018-05-30 16:12:49 -07:00
Aaron Gussman
3ed7fc6686
docs: update docs to use HttpClientModule instead of HttpModule ( #22727 )
...
Updated most examples to use HttpClientModule instead of deprecated HttpModule
fix #19280
PR Close #22727
2018-05-30 10:03:14 -07:00
Igor Minar
b43f8bc7d3
feat(core): upgrade rxjs to 6.0.0-alpha.4 ( #22573 )
...
PR Close #22573
2018-03-19 21:51:51 -07:00
George Kalpakas
4596b9d0df
docs: fix/improve example for singleton-services
guide ( #21589 )
...
PR Close #21589
2018-01-18 18:22:20 -06:00
Kapunahele Wong
53f91189a1
docs(aio): add NgModule docs ( #20306 )
...
PR Close #20306
2018-01-10 16:26:46 -08:00