angular-docs-cn/modules/angular2/test
Jeff Cross c39f4c3b38 refactor(Observable): implement toPromise and fromPromise without side effects
BREAKING CHANGE:

toPromise is no longer an instance method of the `Observable` returned
by Angular, and fromPromise is no longer available as a static method.

The easiest way to account for this change in applications is to import
the auto-patching modules from rxjs, which will automatically add these
operators back to the Observable prototype.

```
import 'rxjs/add/operator/toPromise';
import 'rxjs/add/observable/fromPromise';
```

Closes #5542
Closes #5626
2015-12-08 18:31:02 +00:00
..
animate cleanup: move DomAdapter from angular2/core into angular2/platform/common_dom 2015-11-20 00:14:24 +00:00
common fix(core/forms): input[type=text] .valueChanges fires unexpectedly 2015-12-03 22:11:16 +00:00
compiler feat(TemplateParser): allow template elements regardless the namespace 2015-12-08 17:46:14 +00:00
core chore(parser): add tests for conditional expressions 2015-12-07 15:16:57 -08:00
facade chore(build): make the unit tests campaign to run again in Edge 2015-12-02 14:34:31 -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 chore(build): fix flakiness of the element probe global test 2015-12-02 14:19:07 -08:00
router feat(router): implement router link DSL 2015-12-04 00:47:20 +00:00
symbol_inspector chore(test): fix public API test failure when no support of Symbol.for 2015-11-10 11:23:01 +01:00
testing feat(testing): export useful properties from componentFixture 2015-12-02 16:05:01 -08:00
upgrade refactor(lifecycle): prefix lifecycle methods with "ng" 2015-11-30 16:40:50 -08:00
web_workers feat(HtmlParser): enforce no end tag for void elements 2015-12-04 20:05:27 +00: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(Observable): implement toPromise and fromPromise without side effects 2015-12-08 18:31:02 +00:00