angular-docs-cn/modules/@angular/examples
Julie Ralph 8a9e9c7bd3 fix(core/testing): clean up the core testing public API (#9466)
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.
2016-06-23 17:10:22 -07:00
..
animate/ts repackaging: all the file moves 2016-05-01 20:51:00 -07:00
common/forms/ts/validators chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
compiler/ts/url_resolver chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
core chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
facade/ts/async chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
http/ts repackaging: all the file moves 2016-05-01 20:51:00 -07:00
platform-browser/dom/debug/ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
router_deprecated/ts fix(platform-browser/testing-e2e): clean up unused exports from e2e testing helpers (#9387) 2016-06-23 16:14:31 -07:00
testing/ts fix(core/testing): clean up the core testing public API (#9466) 2016-06-23 17:10:22 -07:00
web_workers/ts repackaging: all the file moves 2016-05-01 20:51:00 -07:00
README.md repackaging: all the file moves 2016-05-01 20:51:00 -07:00

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.