angular-cn/aio/content/examples/testing
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
..
e2e/src docs: fix testing example (#31120) 2019-06-25 10:28:50 -07:00
src docs: fix docs and associated code snippets for enabling more macro tasks in `fakeAsync()` (#35778) 2020-03-02 13:30:25 -08:00
example-config.json Revert "docs: add testing styles in index.html, remove additional configuration" (#25892) 2018-10-09 17:04:19 -07:00
specs.stackblitz.json build(docs-infra): fix StackBlitz projects and ZIPs for `testing` guide examples (#31937) 2019-08-05 09:54:52 -07:00
stackblitz.json build(docs-infra): fix StackBlitz projects and ZIPs for `testing` guide examples (#31937) 2019-08-05 09:54:52 -07:00