angular/modules/angular2/test/core
Vikram Subramanian bab81a9831 feat(test): Implement fakeAsync using the FakeAsyncTestZoneSpec from zone.js.
Update the version of zone.js to @0.6.12 that contains the new FakeAsyncTestZoneSpec.

The new fakeAsync zone handles errors better and clearPendingTimers() is no longer required to be called after handling an error and is deprecated.

The fakeAsync test zone will now throw an error if an XHR is attemtped within the test since that cannot be controlled synchronously in the test(Need to be mocked out with a service implementation that doesn't involve XHRs).

This commit also allows fakeAsync to wrap inject to make it consistent with async test zone.

BREAKING CHANGE:

inject can no longer wrap fakeAsync while fakeAsync can wrap inject. So the order in existing tests with inject and fakeAsync has to be switched as follows:

Before:
```
inject([...], fakeAsync((...) => {...}))
```

After:
```
fakeAsync(inject([...], (...) => {...}))
```

Closes #8142
2016-04-21 22:11:00 +00:00
..
change_detection refactor(core): separate reflective injector from Injector interface 2016-04-20 11:28:13 -07:00
debug refactor(view_compiler): codegen DI and Queries 2016-04-13 14:43:48 -07:00
di refactor(core): separate reflective injector from Injector interface 2016-04-20 11:28:13 -07:00
dom revert(format): Revert "chore(format): update to latest formatter" 2016-04-12 09:41:01 -07:00
facade revert(format): Revert "chore(format): update to latest formatter" 2016-04-12 09:41:01 -07:00
linker feat(test): Implement fakeAsync using the FakeAsyncTestZoneSpec from zone.js. 2016-04-21 22:11:00 +00:00
metadata revert(format): Revert "chore(format): update to latest formatter" 2016-04-12 09:41:01 -07:00
profile refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
reflection revert(format): Revert "chore(format): update to latest formatter" 2016-04-12 09:41:01 -07:00
testability revert(format): Revert "chore(format): update to latest formatter" 2016-04-12 09:41:01 -07:00
util revert(format): Revert "chore(format): update to latest formatter" 2016-04-12 09:41:01 -07:00
zone refactor(core): support non reflective bootstrap. 2016-04-20 11:34:11 -07:00
application_ref_spec.ts refactor(core): support non reflective bootstrap. 2016-04-20 11:34:11 -07:00
directive_lifecycle_integration_spec.ts revert(format): Revert "chore(format): update to latest formatter" 2016-04-12 09:41:01 -07:00
forward_ref_integration_spec.dart feat: allow for forward references in injection 2015-05-15 21:12:57 -07:00
forward_ref_integration_spec.ts revert(format): Revert "chore(format): update to latest formatter" 2016-04-12 09:41:01 -07:00
spies.dart refactor(view_compiler): codegen DI and Queries 2016-04-13 14:43:48 -07:00
spies.ts refactor(core): support non reflective bootstrap. 2016-04-20 11:34:11 -07:00