angular-docs-cn/aio/content
George Kalpakas 8eb4a9d395 docs: fix docs and associated code snippets for enabling more macro tasks in `fakeAsync()` (#35778)
In the `testing` guide, there is a section discussing configuring
`fakeAsync()` to handle more macro tasks (e.g.
`HTMLCanvasElement#toBlob()`).

Previously, the corresponding code snippets (some of which were
hard-coded in the guide) were incorrect/incomplete and the associated
tests were broken. This was discovered while enabling docs examples unit
tests in #34374.

This commit fixes the code snippets and associated tests and ensures the
examples used in the guide come from an example app (i.e. are not
hard-coded).

Note: The docs examples unit tests are currently not run on CI. This
will be fixed in #34374.

PR Close #35778
2020-03-02 13:30:25 -08:00
..
cli refactor(docs-infra): remove obsolete `format` attribute from code examples (#31674) 2019-07-24 14:38:54 -07:00
cli-src build(docs-infra): make the git ref for cli command docs configurable (#26391) 2018-10-11 12:57:49 -07:00
examples docs: fix docs and associated code snippets for enabling more macro tasks in `fakeAsync()` (#35778) 2020-03-02 13:30:25 -08:00
guide docs: fix docs and associated code snippets for enabling more macro tasks in `fakeAsync()` (#35778) 2020-03-02 13:30:25 -08:00
images docs: remove old contributors (#34486) 2020-01-14 10:28:24 -08:00
marketing docs: restructure nav for beginner concepts (#34681) 2020-02-04 08:57:31 -08:00
start docs: update getting started topics to avoid duplicate topic names (#35457) 2020-02-25 13:10:30 -08:00
tutorial docs: remove service from region where it was added before it was created (#35354) 2020-02-12 16:46:22 -08:00
file-not-found.md fix(docs-infra): do not create an anchor for the `file-not-found` header (#27250) 2018-12-05 13:26:26 -08:00
license.md build: bump year (#34651) 2020-01-13 07:21:43 -08:00
navigation.json docs: add documentation of NgZone with zone.js (#34295) 2020-02-26 12:42:59 -08:00