angular-cn/modules
Vikram Subramanian 769835e53e feat(testing): Use NgZone in TestComponentBuilder.
Instantiating the test component within an NgZone will let us track async tasks in event handlers and change detection.

We can also do auto change detection when triggering events through dispatchEvent and not have to do fixture.detectChange() manually in the test.

New API:
ComponentFixture.autoDetectChanges() - This puts the fixture in auto detect mode that automatically calls detectChanges when the microtask queue is empty (Similar to how change detection is triggered in an actual application).

ComponentFixture.isStable() - This returns a boolean whether the fixture is currently stable or has some async tasks that need to be completed.

ComponentFixture.whenStable() - This returns a promise that is resolved when the fixture is stable after all async tasks are complete.

Closes #8301
2016-04-28 22:37:37 +00:00
..
angular1_router fix(angular_1_router): Removed arrow function from module template 2016-04-19 00:44:17 +00:00
angular2 feat(testing): Use NgZone in TestComponentBuilder. 2016-04-28 22:37:37 +00:00
benchmarks feat(core): separate refs from vars. 2016-04-28 01:13:40 +00:00
benchmarks_external revert(format): Revert "chore(format): update to latest formatter" 2016-04-12 09:41:01 -07:00
benchpress refactor(core): separate reflective injector from Injector interface 2016-04-20 11:28:13 -07:00
payload_tests/hello_world/ts feat(dart/transform): Use angular2/platform/browser as bootstrap lib 2016-03-21 00:58:17 +00:00
playground feat(core): separate refs from vars. 2016-04-28 01:13:40 +00:00