angular-cn/modules/angular2/test/testing
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
..
fake_async_spec.ts refactor(core): move facades out of core 2015-11-07 01:36:06 +00:00
test_component_builder_spec.ts feat: camelCase Angular (kebab-case removal) 2015-12-09 19:59:40 -08:00
testing_internal_spec.ts cleanup: move DomAdapter from angular2/core into angular2/platform/common_dom 2015-11-20 00:14:24 +00:00
testing_public_spec.dart refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
testing_public_spec.ts refactor(testing): reenable injectAsync checking for return value 2015-12-15 05:51:54 +00:00
utils_spec.ts refactor(core): move facades out of core 2015-11-07 01:36:06 +00:00