angular/aio/content/examples/testing/src
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
..
app docs: fix docs and associated code snippets for enabling more macro tasks in fakeAsync() (#35778) 2020-03-02 13:30:25 -08:00
testing style(router): removed extra semicolon (#33062) 2019-10-10 15:26:20 -07:00
expected.ts build(aio): migrate plunker to stackblitz (#20165) 2018-01-23 21:30:27 -08:00
index-specs.html Revert "docs: add testing styles in index.html, remove additional configuration" (#25892) 2018-10-09 17:04:19 -07:00
index.html Revert "docs: add testing styles in index.html, remove additional configuration" (#25892) 2018-10-09 17:04:19 -07:00
main-specs.ts build: upgrade zone.js (#23108) 2018-04-04 08:24:02 -07:00
main.ts build(aio): change examples to CLI (#19248) 2017-09-21 17:05:54 -07:00
test.css Revert "docs: add testing styles in index.html, remove additional configuration" (#25892) 2018-10-09 17:04:19 -07:00
tests.html docs: migrate examples from @angular/http to @angular/common/http (#28296) 2019-03-11 10:52:17 -07:00
tests.sb.ts docs: migrate examples from @angular/http to @angular/common/http (#28296) 2019-03-11 10:52:17 -07:00