angular-cn/modules/angular2/test
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
..
animate Revert "fix(animate): ensure transition properties are removed once the animation is over" 2015-12-11 13:13:11 -08:00
common feat: camelCase Angular (kebab-case removal) 2015-12-09 19:59:40 -08:00
compiler refactor(Directive): drop moduleId 2015-12-15 01:20:56 +00:00
core fix(public_spec): check exports of barrels instead of angular2/angular2 2015-12-11 13:05:52 -08:00
facade feat(core): provide support for relative assets for components 2015-12-09 16:28:49 -08:00
http refactor(http): rename enums to be singular 2015-12-04 19:16:00 +00:00
mock refactor(core): move facades out of core 2015-11-07 01:36:06 +00:00
platform fix(bootstrap): fix the configuration of ExceptionHandler 2015-12-08 16:09:37 -08:00
router feat: camelCase Angular (kebab-case removal) 2015-12-09 19:59:40 -08:00
symbol_inspector fix(public_spec): check exports of barrels instead of angular2/angular2 2015-12-11 13:05:52 -08:00
testing refactor(testing): reenable injectAsync checking for return value 2015-12-15 05:51:54 +00:00
upgrade fix(upgrade): allow directives with empty template 2015-12-11 11:39:45 -08:00
web_workers Revert "refactor(testing): move common testing logic into test_injector" 2015-12-14 20:27:31 -08:00
dev_mode_spec.ts test: add a test verifying that the tests are run in the checked mode 2015-12-02 11:29:11 -08:00
public_api_spec.ts refactor(Directive): drop moduleId 2015-12-15 01:20:56 +00:00