angular-docs-cn/modules
Julie Ralph b803ecf7e7 refactor(testing): reenable injectAsync checking for return value
Before #5375, injectAsync would check the return value and fail
if it was not a promise, to help users remember that they need to
return a promise from an async test. #5375 removed that with the
introduction of the testing zone.

This un-deprecates `injectAsync` until we can resolve
https://github.com/angular/angular/issues/5515.

To be clear, this means that `inject` and `injectAsync` are now
identical except that `injectAsync` will fail if the test
does not return a promise, and `inject` will fail if the test
returns any value.

Closes #5721
2015-12-15 05:51:54 +00:00
..
angular1_router refactor(angular_1_router): Added value for router root component 2015-12-03 22:05:51 +00:00
angular2 refactor(testing): reenable injectAsync checking for return value 2015-12-15 05:51:54 +00:00
angular2_material refactor(material): remove imports from 'angular2/angular2' 2015-12-10 21:19:38 +00:00
benchmarks refactor(benchmarks): remove imports from 'angular2/angular2' 2015-12-11 18:33:03 +00:00
benchmarks_external fix(benchmarks): update react and polymer benchmarks and get tree update numbers for all of the benchmarks as well. 2015-10-28 13:17:01 -07:00
benchpress feat(benchpress): add receivedData + requestCount to PerflogMetric 2015-12-10 18:51:47 +00:00
playground refactor(WebWorker): Make WebWorker bootstrap synchronous 2015-12-14 21:04:46 +00:00