8a9e9c7bd3
Previously, we were exporting internal mocks and helpers. Move these to core/testing/testing_internal or remove them if they were never used. Remove deprecated items - injectAsync, clearPendingTimers. BREAKING CHANGE: Remove the following APIs from `@angular/core/testing`, which have been deprecated or were never intended to be publicly exported: ``` injectAsync clearPendingTimers Log MockAppliacationHref MockNgZone clearPendingTimers getTypeOf instantiateType ``` Instead of `injectAsync`, use `async(inject())`. `clearPendingTimers` is no longer required. |
||
---|---|---|
.. | ||
animate/ts | ||
common/forms/ts/validators | ||
compiler/ts/url_resolver | ||
core | ||
facade/ts/async | ||
http/ts | ||
platform-browser/dom/debug/ts | ||
router_deprecated/ts | ||
testing/ts | ||
web_workers/ts | ||
README.md |
README.md
API Examples
This folder contains small example apps that get in-lined into our API docs. These examples are written with idiomatic TypeScript, and are not transpiled to Dart. Each example contains tests for application behavior (as opposed to testing Angular's behavior) just like an Angular application developer would write.